Completed
Pull Request — master (#14)
by Pavel
04:14
created
Proxy/ApiCollection.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,6 +188,9 @@  discard block
 block discarded – undo
188 188
         return $this->snapshot;
189 189
     }
190 190
 
191
+    /**
192
+     * @param boolean $state
193
+     */
191 194
     public function setInitialized($state)
192 195
     {
193 196
         $this->initialized = (bool)$state;
@@ -452,7 +455,7 @@  discard block
 block discarded – undo
452 455
      * Internal note: Tried to implement Serializable first but that did not work well
453 456
      *                with circular references. This solution seems simpler and works well.
454 457
      *
455
-     * @return array
458
+     * @return string[]
456 459
      */
457 460
     public function __sleep()
458 461
     {
Please login to merge, or discard this patch.
Tests/AbstractEntityManagerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     private $clients = [];
29 29
 
30 30
     /**
31
-     * @return mixed
31
+     * @return ClientRegistryInterface
32 32
      */
33 33
     public function getRegistry()
34 34
     {
Please login to merge, or discard this patch.
UnitOfWork.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     }
173 173
 
174 174
     /**
175
-     * @param             $className
175
+     * @param             string $className
176 176
      * @param \stdClass   $data
177 177
      *
178 178
      * @return ObjectManagerAware|object
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      * INTERNAL:
231 231
      * Registers an entity as managed.
232 232
      *
233
-     * @param object         $entity The entity.
233
+     * @param Proxy         $entity The entity.
234 234
      * @param array          $id     The identifier values.
235 235
      * @param \stdClass|null $data   The original entity data.
236 236
      *
Please login to merge, or discard this patch.
Utility/ReflectionPropertiesGetter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param $className
53
+     * @param string $className
54 54
      *
55 55
      * @return \ReflectionProperty[] indexed by property internal name
56 56
      */
Please login to merge, or discard this patch.