Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
053fa97e
Commit
053fa97e
authored
May 03, 2015
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UpdateResult::getUpsertedId() may return any value
parent
a6b2d856
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
UpdateResult.php
src/UpdateResult.php
+1
-2
No files found.
src/UpdateResult.php
View file @
053fa97e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
namespace
MongoDB
;
namespace
MongoDB
;
use
BSON\ObjectId
;
use
MongoDB\Driver\WriteResult
;
use
MongoDB\Driver\WriteResult
;
/**
/**
...
@@ -67,7 +66,7 @@ class UpdateResult
...
@@ -67,7 +66,7 @@ class UpdateResult
*
*
* This value is undefined if an upsert did not take place.
* This value is undefined if an upsert did not take place.
*
*
* @return
ObjectI
d|null
* @return
mixe
d|null
*/
*/
public
function
getUpsertedId
()
public
function
getUpsertedId
()
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment