Completed
Push — master ( 26ecbc...8c0c5d )
by Maciej
14s
created
lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -172,6 +172,9 @@
 block discarded – undo
172 172
         }
173 173
     }
174 174
 
175
+    /**
176
+     * @param string|null $fileName
177
+     */
175 178
     private function generateHydratorClass(ClassMetadata $class, string $hydratorClassName, ?string $fileName) : void
176 179
     {
177 180
         $code = '';
Please login to merge, or discard this patch.
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/Repository/DocumentRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -87,6 +87,7 @@
 block discarded – undo
87 87
      * expected version may be specified.
88 88
      *
89 89
      * @param mixed $id Identifier.
90
+     * @param integer $lockVersion
90 91
      *
91 92
      * @throws MappingException
92 93
      * @throws LockException
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
@@ -575,6 +575,7 @@  discard block
 block discarded – undo
575 575
     /**
576 576
      * INTERNAL:
577 577
      * Sets the mapped identifier field of this class.
578
+     * @param string|null $identifier
578 579
      */
579 580
     public function setIdentifier(?string $identifier) : void
580 581
     {
@@ -645,6 +646,7 @@  discard block
 block discarded – undo
645 646
      *
646 647
      * @throws InvalidArgumentException If document class is not this class or
647 648
      *                                   a Proxy of this class.
649
+     * @param \Doctrine\ODM\MongoDB\Event\PreLoadEventArgs[] $arguments
648 650
      */
649 651
     public function invokeLifecycleCallbacks(string $event, object $document, ?array $arguments = null) : void
650 652
     {
@@ -1296,6 +1298,7 @@  discard block
 block discarded – undo
1296 1298
      * {@inheritDoc}
1297 1299
      *
1298 1300
      * Checks whether the class has a mapped association (embed or reference) with the given field name.
1301
+     * @param string $fieldName
1299 1302
      */
1300 1303
     public function hasAssociation($fieldName) : bool
1301 1304
     {
@@ -1659,6 +1662,7 @@  discard block
 block discarded – undo
1659 1662
     /**
1660 1663
      * Sets the name of the field that is to be used for versioning if this class is
1661 1664
      * versioned for optimistic locking.
1665
+     * @param string|null $versionField
1662 1666
      */
1663 1667
     public function setVersionField(?string $versionField) : void
1664 1668
     {
@@ -1955,7 +1959,7 @@  discard block
 block discarded – undo
1955 1959
      *      - reflClass (ReflectionClass)
1956 1960
      *      - reflFields (ReflectionProperty array)
1957 1961
      *
1958
-     * @return array The names of all the fields that should be serialized.
1962
+     * @return string[] The names of all the fields that should be serialized.
1959 1963
      */
1960 1964
     public function __sleep()
1961 1965
     {
Please login to merge, or discard this patch.