Skip to content

Commit

Permalink
Add conditional return type for Cursor::getId
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Oct 2, 2024
1 parent b133892 commit 100e152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stubs/extensions/mongodb.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ namespace MongoDB\Driver
{
}

/** @return ($asInt64 is true ? Int64 : CursorId)
public function getId(bool $asInt64 = false): Int64|CursorId
{
}
Expand Down

0 comments on commit 100e152

Please sign in to comment.