@@ -650,6 +650,7 @@ discard block |
||
650 | 650 | * |
651 | 651 | * @throws InvalidArgumentException If document class is not this class or |
652 | 652 | * a Proxy of this class. |
653 | + * @param \Doctrine\ODM\MongoDB\Event\LifecycleEventArgs[] $arguments |
|
653 | 654 | */ |
654 | 655 | public function invokeLifecycleCallbacks(string $event, object $document, ?array $arguments = null) : void |
655 | 656 | { |
@@ -1963,7 +1964,7 @@ discard block |
||
1963 | 1964 | * - reflClass (ReflectionClass) |
1964 | 1965 | * - reflFields (ReflectionProperty array) |
1965 | 1966 | * |
1966 | - * @return array The names of all the fields that should be serialized. |
|
1967 | + * @return string[] The names of all the fields that should be serialized. |
|
1967 | 1968 | */ |
1968 | 1969 | public function __sleep() |
1969 | 1970 | { |
@@ -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 GhostObjectInterface $document |
|
444 | 445 | * |
445 | 446 | * @throws LockException |
446 | 447 | * |
@@ -479,6 +480,9 @@ discard block |
||
479 | 480 | |
480 | 481 | /** |
481 | 482 | * Finds documents by a set of criteria. |
483 | + * @param string[] $sort |
|
484 | + * @param integer $limit |
|
485 | + * @param integer $skip |
|
482 | 486 | */ |
483 | 487 | public function loadAll(array $criteria = [], ?array $sort = null, ?int $limit = null, ?int $skip = null) : Iterator |
484 | 488 | { |