Completed
Pull Request — master (#2172)
by
unknown
21:35
created
lib/Doctrine/ODM/MongoDB/Mapping/MappingException.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * @param $fieldName
91 91
      * @param $className
92
-     * @param $className2
92
+     * @param string $className2
93 93
      * @return MappingException
94 94
      */
95 95
     public static function referenceFieldConflict($fieldName, $className, $className2)
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
     }
331 331
 
332 332
     /**
333
-     * @param $subclassName
333
+     * @param string $subclassName
334 334
      * @return MappingException
335 335
      */
336 336
     public static function shardKeyInSingleCollInheritanceSubclass($subclassName)
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
     }
340 340
 
341 341
     /**
342
-     * @param $className
342
+     * @param string $className
343 343
      * @return MappingException
344 344
      */
345 345
     public static function embeddedDocumentCantHaveShardKey($className)
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     }
359 359
 
360 360
     /**
361
-     * @param $className
361
+     * @param string $className
362 362
      * @param $fieldName
363 363
      * @return MappingException
364 364
      */
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/MongoDBException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
 
148 148
     /**
149 149
      * @param string $type
150
-     * @param string|array $expected
150
+     * @param string[] $expected
151 151
      * @param mixed $got
152 152
      * @return MongoDBException
153 153
      */
Please login to merge, or discard this patch.
Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionException.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,8 @@
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param $className
84
-     * @param $methodName
83
+     * @param string $className
84
+     * @param string $methodName
85 85
      * @param \Exception|null $previous
86 86
      *
87 87
      * @return self
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Query/QueryExpressionVisitor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
      *
144 144
      * @see ExpressionVisitor::walkValue()
145 145
      * @param Value $value
146
-     * @return mixed
146
+     * @return string
147 147
      */
148 148
     public function walkValue(Value $value)
149 149
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/UnitOfWork.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2695,7 +2695,7 @@
 block discarded – undo
2695 2695
      * @param array $data The data for the document.
2696 2696
      * @param array $hints Any hints to account for during reconstitution/lookup of the document.
2697 2697
      * @param object $document The document to be hydrated into in case of creation
2698
-     * @return object The document instance.
2698
+     * @return callable|null The document instance.
2699 2699
      */
2700 2700
     public function getOrCreateDocument($className, $data, &$hints = array(), $document = null)
2701 2701
     {
Please login to merge, or discard this patch.