Completed
Pull Request — master (#14)
by Pavel
04:17
created
Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      * Returns class cache configuration
83 83
      *
84
-     * @param $class
84
+     * @param string $class
85 85
      *
86 86
      * @return array|null Null if cache is not enabled for this class (use implementation defaults)
87 87
      */
Please login to merge, or discard this patch.
Mapping/EntityMetadata.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
         return $this->identifier;
126 126
     }
127 127
 
128
+    /**
129
+     * @param string[] $identifier
130
+     */
128 131
     public function setIdentifier($identifier)
129 132
     {
130 133
         $this->identifier            = $identifier;
@@ -345,6 +348,9 @@  discard block
 block discarded – undo
345 348
         return $this->associations[$fieldName];
346 349
     }
347 350
 
351
+    /**
352
+     * @param string $customRepositoryClassName
353
+     */
348 354
     public function setCustomRepositoryClass($customRepositoryClassName)
349 355
     {
350 356
         $this->repositoryClass = $customRepositoryClassName;
Please login to merge, or discard this patch.
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @param             $className
170
+     * @param             string $className
171 171
      * @param \stdClass   $data
172 172
      *
173 173
      * @return ObjectManagerAware|object
Please login to merge, or discard this patch.