Completed
Push — master ( 63dc22...d859d8 )
by Jan
04:17
created
src/Command/CleanAttachmentsCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
         $io = new SymfonyStyle($input, $output);
50 50
 
51 51
         $mediaPath = $this->pathResolver->getMediaPath();
52
-        $io->note("The media path is " . $mediaPath);
52
+        $io->note("The media path is ".$mediaPath);
53 53
         $securePath = $this->pathResolver->getSecurePath();
54
-        $io->note("The secure media path is ". $securePath);
54
+        $io->note("The secure media path is ".$securePath);
55 55
 
56 56
         $finder = new Finder();
57 57
         //We look for files in the media folder only
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
      */
111 111
     protected function removeEmptySubFolders($path)
112 112
     {
113
-        $empty=true;
114
-        foreach (glob($path . DIRECTORY_SEPARATOR . "*") as $file)
113
+        $empty = true;
114
+        foreach (glob($path.DIRECTORY_SEPARATOR."*") as $file)
115 115
         {
116 116
             $empty &= is_dir($file) && $this->removeEmptySubFolders($file);
117 117
         }
Please login to merge, or discard this patch.