Completed
Push — master ( 4655ef...ecb96f )
by Andreas
20s queued 11s
created
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadataFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
         $this->config = $config;
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $className
62
+     */
60 63
     public function getMetadataFor($className)
61 64
     {
62 65
         return parent::getMetadataFor($this->dm->getClassNameResolver()->getRealClass($className));
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -483,6 +483,8 @@
 block discarded – undo
483 483
 
484 484
     /**
485 485
      * Finds documents by a set of criteria.
486
+     * @param integer $limit
487
+     * @param integer $skip
486 488
      */
487 489
     public function loadAll(array $criteria = [], ?array $sort = null, ?int $limit = null, ?int $skip = null) : Iterator
488 490
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -576,6 +576,7 @@  discard block
 block discarded – undo
576 576
      * Sets the mapped identifier field of this class.
577 577
      *
578 578
      * @internal
579
+     * @param string|null $identifier
579 580
      */
580 581
     public function setIdentifier(?string $identifier) : void
581 582
     {
@@ -646,6 +647,7 @@  discard block
 block discarded – undo
646 647
      *
647 648
      * @throws InvalidArgumentException If document class is not this class or
648 649
      *                                   a Proxy of this class.
650
+     * @param \Doctrine\ODM\MongoDB\Event\PreLoadEventArgs[] $arguments
649 651
      */
650 652
     public function invokeLifecycleCallbacks(string $event, object $document, ?array $arguments = null) : void
651 653
     {
@@ -1299,6 +1301,7 @@  discard block
 block discarded – undo
1299 1301
      * {@inheritDoc}
1300 1302
      *
1301 1303
      * Checks whether the class has a mapped association (embed or reference) with the given field name.
1304
+     * @param string $fieldName
1302 1305
      */
1303 1306
     public function hasAssociation($fieldName) : bool
1304 1307
     {
@@ -1662,6 +1665,7 @@  discard block
 block discarded – undo
1662 1665
     /**
1663 1666
      * Sets the name of the field that is to be used for versioning if this class is
1664 1667
      * versioned for optimistic locking.
1668
+     * @param string|null $versionField
1665 1669
      */
1666 1670
     public function setVersionField(?string $versionField) : void
1667 1671
     {
@@ -1958,7 +1962,7 @@  discard block
 block discarded – undo
1958 1962
      *      - reflClass (ReflectionClass)
1959 1963
      *      - reflFields (ReflectionProperty array)
1960 1964
      *
1961
-     * @return array The names of all the fields that should be serialized.
1965
+     * @return string[] The names of all the fields that should be serialized.
1962 1966
      */
1963 1967
     public function __sleep()
1964 1968
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/DocumentManager.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,6 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * Creates a new Document that operates on the given Mongo connection
199 199
      * and uses the given Configuration.
200
+     * @param Configuration $config
200 201
      */
201 202
     public static function create(?Client $client = null, ?Configuration $config = null, ?EventManager $eventManager = null) : DocumentManager
202 203
     {
@@ -424,7 +425,7 @@  discard block
 block discarded – undo
424 425
      * NOTE: The persist operation always considers documents that are not yet known to
425 426
      * this DocumentManager as NEW. Do not pass detached documents to the persist operation.
426 427
      *
427
-     * @param object $document The instance to make managed and persistent.
428
+     * @param \Documents\User $document The instance to make managed and persistent.
428 429
      *
429 430
      * @throws InvalidArgumentException When the given $document param is not an object.
430 431
      */
Please login to merge, or discard this patch.