Completed
Push — master ( f910d1...68da4b )
by Gaetano
05:20
created
Core/Executor/RepositoryExecutor.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     }
314 314
 
315 315
     /**
316
-     * @param array $step
316
+     * @param MigrationStep $step
317 317
      * @return string
318 318
      */
319 319
     protected function getReferencesType($step)
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-     * @param array $step
325
+     * @param MigrationStep $step
326 326
      * @return bool
327 327
      */
328 328
     protected function allowEmptyReferences($step)
@@ -343,6 +343,9 @@  discard block
 block discarded – undo
343 343
         return preg_replace('/(?<!^)[A-Z]/', ' $0', $className);
344 344
     }
345 345
 
346
+    /**
347
+     * @param AbstractCollection $collection
348
+     */
346 349
     protected function getCollectionName($collection)
347 350
     {
348 351
         $className = get_class($collection);
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -329,8 +329,9 @@
 block discarded – undo
329 329
     {
330 330
         if (isset($step->dsl['references_type']) && $step->dsl['references_type'] == self::REFERENCE_TYPE_ARRAY &&
331 331
             isset($step->dsl['references_allow_empty']) && $step->dsl['references_allow_empty'] == true
332
-        )
333
-            return true;
332
+        ) {
333
+                    return true;
334
+        }
334 335
         return false;
335 336
     }
336 337
 
Please login to merge, or discard this patch.