@@ -818,7 +818,7 @@ |
||
818 | 818 | * @see Builder::mod() |
819 | 819 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
820 | 820 | * @param float|int $divisor |
821 | - * @param float|int $remainder |
|
821 | + * @param integer $remainder |
|
822 | 822 | * @return $this |
823 | 823 | */ |
824 | 824 | public function mod($divisor, $remainder = 0) |
@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | * the unique index. Additionally, the background option is only |
385 | 385 | * relevant to index creation and is not considered. |
386 | 386 | * |
387 | - * @param array|IndexInfo $mongoIndex Mongo index data. |
|
387 | + * @param IndexInfo $mongoIndex Mongo index data. |
|
388 | 388 | * @param array $documentIndex Document index data. |
389 | 389 | * @return bool True if the indexes are equivalent, otherwise false. |
390 | 390 | */ |
@@ -525,7 +525,7 @@ discard block |
||
525 | 525 | /** |
526 | 526 | * @param string $documentName |
527 | 527 | * |
528 | - * @return array |
|
528 | + * @return string |
|
529 | 529 | */ |
530 | 530 | private function runShardCollectionCommand($documentName) |
531 | 531 | { |
@@ -2569,7 +2569,7 @@ |
||
2569 | 2569 | * @param array $data The data for the document. |
2570 | 2570 | * @param array $hints Any hints to account for during reconstitution/lookup of the document. |
2571 | 2571 | * @param object $document The document to be hydrated into in case of creation |
2572 | - * @return object The document instance. |
|
2572 | + * @return callable|null The document instance. |
|
2573 | 2573 | * @internal Highly performance-sensitive method. |
2574 | 2574 | */ |
2575 | 2575 | public function getOrCreateDocument($className, $data, &$hints = [], $document = null) |