@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | * @link http://www.php.net/manual/en/mongocursor.hasnext.php |
265 | 265 | * @throws MongoConnectionException |
266 | 266 | * @throws MongoCursorTimeoutException |
267 | - * @return bool Returns true if there is another element |
|
267 | + * @return boolean|null Returns true if there is another element |
|
268 | 268 | */ |
269 | 269 | public function hasNext() |
270 | 270 | { |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | } |
677 | 677 | |
678 | 678 | /** |
679 | - * @return Cursor |
|
679 | + * @return Traversable |
|
680 | 680 | */ |
681 | 681 | private function ensureCursor() |
682 | 682 | { |