@@ -441,6 +441,7 @@ discard block |
||
| 441 | 441 | * be used to match an _id value. |
| 442 | 442 | * |
| 443 | 443 | * @param mixed $criteria Query criteria |
| 444 | + * @param \Doctrine\Common\Proxy\Proxy $document |
|
| 444 | 445 | * |
| 445 | 446 | * @throws LockException |
| 446 | 447 | * |
@@ -475,6 +476,9 @@ discard block |
||
| 475 | 476 | |
| 476 | 477 | /** |
| 477 | 478 | * Finds documents by a set of criteria. |
| 479 | + * @param string[] $sort |
|
| 480 | + * @param integer $limit |
|
| 481 | + * @param integer $skip |
|
| 478 | 482 | */ |
| 479 | 483 | public function loadAll(array $criteria = [], ?array $sort = null, ?int $limit = null, ?int $skip = null) : Iterator |
| 480 | 484 | { |
@@ -584,7 +588,7 @@ discard block |
||
| 584 | 588 | * @param object $document The document object to fill, if any. |
| 585 | 589 | * @param array $hints Hints for document creation. |
| 586 | 590 | * |
| 587 | - * @return object The filled and managed document object or NULL, if the query result is empty. |
|
| 591 | + * @return null|\Doctrine\ODM\MongoDB\object The filled and managed document object or NULL, if the query result is empty. |
|
| 588 | 592 | */ |
| 589 | 593 | private function createDocument($result, ?object $document = null, array $hints = []) : ?object |
| 590 | 594 | { |
@@ -1010,7 +1010,7 @@ discard block |
||
| 1010 | 1010 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 1011 | 1011 | * |
| 1012 | 1012 | * @param float|int $divisor |
| 1013 | - * @param float|int $remainder |
|
| 1013 | + * @param integer $remainder |
|
| 1014 | 1014 | */ |
| 1015 | 1015 | public function mod($divisor, $remainder = 0) : self |
| 1016 | 1016 | { |
@@ -1171,7 +1171,7 @@ discard block |
||
| 1171 | 1171 | * If a custom callable is used, its signature should conform to the default |
| 1172 | 1172 | * Closure defined in {@link ReferencePrimer::__construct()}. |
| 1173 | 1173 | * |
| 1174 | - * @param bool|callable $primer |
|
| 1174 | + * @param boolean $primer |
|
| 1175 | 1175 | * |
| 1176 | 1176 | * @throws InvalidArgumentException If $primer is not boolean or callable. |
| 1177 | 1177 | */ |
@@ -1518,7 +1518,7 @@ discard block |
||
| 1518 | 1518 | * field name (key) and order (value) pairs. |
| 1519 | 1519 | * |
| 1520 | 1520 | * @param array|string $fieldName Field name or array of field/order pairs |
| 1521 | - * @param int|string $order Field order (if one field is specified) |
|
| 1521 | + * @param integer $order Field order (if one field is specified) |
|
| 1522 | 1522 | */ |
| 1523 | 1523 | public function sort($fieldName, $order = 1) : self |
| 1524 | 1524 | { |
@@ -779,7 +779,7 @@ |
||
| 779 | 779 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 780 | 780 | * |
| 781 | 781 | * @param float|int $divisor |
| 782 | - * @param float|int $remainder |
|
| 782 | + * @param integer $remainder |
|
| 783 | 783 | */ |
| 784 | 784 | public function mod($divisor, $remainder = 0) : self |
| 785 | 785 | { |
@@ -22,6 +22,7 @@ discard block |
||
| 22 | 22 | * |
| 23 | 23 | * @param mixed $id File ID |
| 24 | 24 | * @param resource $destination Writable Stream |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function downloadToStream($id, $destination) : void; |
| 27 | 28 | |
@@ -36,7 +37,6 @@ discard block |
||
| 36 | 37 | * Writes the contents of a readable stream to a GridFS file. |
| 37 | 38 | * |
| 38 | 39 | * @param resource $source Readable stream |
| 39 | - * @param object|null $metadata |
|
| 40 | 40 | * |
| 41 | 41 | * @return object The newly created GridFS file |
| 42 | 42 | */ |
@@ -45,9 +45,7 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * Writes the contents of a file to a GridFS file. |
| 47 | 47 | * |
| 48 | - * @param string $path |
|
| 49 | 48 | * @param string|null $filename The filename to upload the file with. If no filename is provided, the name of the source file will be used. |
| 50 | - * @param object|null $metadata |
|
| 51 | 49 | * |
| 52 | 50 | * @return object The newly created GridFS file |
| 53 | 51 | */ |