Completed
Push — master ( 7f3b40...87527d )
by Jan
05:23
created
src/Command/CleanAttachmentsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $io = new SymfonyStyle($input, $output);
47 47
 
48 48
         $mediaPath = $this->attachment_helper->getMediaPath();
49
-        $io->note("The media path is " . $mediaPath);
49
+        $io->note("The media path is ".$mediaPath);
50 50
 
51 51
         $finder = new Finder();
52 52
         //We look for files in the media folder only
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
      */
104 104
     protected function removeEmptySubFolders($path)
105 105
     {
106
-        $empty=true;
107
-        foreach (glob($path . DIRECTORY_SEPARATOR . "*") as $file)
106
+        $empty = true;
107
+        foreach (glob($path.DIRECTORY_SEPARATOR."*") as $file)
108 108
         {
109 109
             $empty &= is_dir($file) && $this->removeEmptySubFolders($file);
110 110
         }
Please login to merge, or discard this patch.