Completed
Pull Request — master (#25)
by Greg
02:27
created
src/Transformations/DomToArraySimplifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
     /**
19
-     * @param ReflectionClass $dataType
19
+     * @param \ReflectionClass $dataType
20 20
      */
21 21
     public function canSimplify(\ReflectionClass $dataType)
22 22
     {
Please login to merge, or discard this patch.
src/FormatterManager.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@  discard block
 block discarded – undo
182 182
         return $this->isValidFormatForReflectionClass($formatter, $dataType);
183 183
     }
184 184
 
185
+    /**
186
+     * @param \ReflectionClass $dataType
187
+     */
185 188
     public function isValidFormatForReflectionClass(FormatterInterface $formatter, $dataType)
186 189
     {
187 190
         if ($this->canSimplifyToArray($dataType)) {
@@ -196,6 +199,10 @@  discard block
 block discarded – undo
196 199
         }
197 200
         return array_reduce(
198 201
             $formatter->validDataTypes(),
202
+
203
+            /**
204
+             * @param \ReflectionClass $supportedType
205
+             */
199 206
             function ($carry, $supportedType) use ($dataType) {
200 207
                 return
201 208
                     $carry ||
@@ -266,6 +273,7 @@  discard block
 block discarded – undo
266 273
 
267 274
     /**
268 275
      * Test to see if the stipulated format exists
276
+     * @param string $format
269 277
      */
270 278
     public function hasFormatter($format)
271 279
     {
Please login to merge, or discard this patch.