Completed
Push — develop ( 20877f...045e3f )
by
unknown
13s
created
src/Command/ImportCommandAbstract.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @param InputInterface $input User input on console
61 61
      *
62
-     * @return Finder|SplFileInfo[] finder
62
+     * @return Finder finder
63 63
      */
64 64
     protected function getFinder($input)
65 65
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         try {
50 50
             $exitCode = $this->doImport($this->getFinder($input), $input, $output);
51 51
         } catch (MissingTargetException $e) {
52
-            $output->writeln('<error>' . $e->getMessage() . '</error>');
52
+            $output->writeln('<error>'.$e->getMessage().'</error>');
53 53
         }
54 54
         return $exitCode;
55 55
     }
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
          * @param SplFileInfo $file
77 77
          * @return bool
78 78
          */
79
-        $filter = function (SplFileInfo $file) {
80
-            if (!in_array($file->getExtension(), ['yml','json']) || $file->isDir()) {
79
+        $filter = function(SplFileInfo $file) {
80
+            if (!in_array($file->getExtension(), ['yml', 'json']) || $file->isDir()) {
81 81
                 return false;
82 82
             }
83 83
             return true;
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
             $fileList = array_filter(
104 104
                 $fileList,
105
-                function ($val) {
105
+                function($val) {
106 106
                     if (!empty($val)) {
107 107
                         return true;
108 108
                     }
Please login to merge, or discard this patch.