Completed
Pull Request — master (#1880)
by
unknown
16:05 queued 05:32
created
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -630,6 +630,7 @@  discard block
 block discarded – undo
630 630
      *
631 631
      * @throws InvalidArgumentException If document class is not this class or
632 632
      *                                   a Proxy of this class.
633
+     * @param \Doctrine\ODM\MongoDB\Event\PreLoadEventArgs[] $arguments
633 634
      */
634 635
     public function invokeLifecycleCallbacks(string $event, object $document, ?array $arguments = null) : void
635 636
     {
@@ -1282,6 +1283,7 @@  discard block
 block discarded – undo
1282 1283
      * {@inheritDoc}
1283 1284
      *
1284 1285
      * Checks whether the class has a mapped association (embed or reference) with the given field name.
1286
+     * @param string|null $fieldName
1285 1287
      */
1286 1288
     public function hasAssociation($fieldName) : bool
1287 1289
     {
@@ -1941,7 +1943,7 @@  discard block
 block discarded – undo
1941 1943
      *      - reflClass (ReflectionClass)
1942 1944
      *      - reflFields (ReflectionProperty array)
1943 1945
      *
1944
-     * @return array The names of all the fields that should be serialized.
1946
+     * @return string[] The names of all the fields that should be serialized.
1945 1947
      */
1946 1948
     public function __sleep()
1947 1949
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -479,6 +479,7 @@
 block discarded – undo
479 479
 
480 480
     /**
481 481
      * Finds documents by a set of criteria.
482
+     * @param integer $limit
482 483
      */
483 484
     public function loadAll(array $criteria = [], ?array $sort = null, ?int $limit = null, ?int $skip = null) : Iterator
484 485
     {
Please login to merge, or discard this patch.