Completed
Push — master ( 4f25b6...e7033c )
by Joao
02:34
created
src/Commands/ConfigCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
     private function compileConfigFiles()
55 55
     {
56 56
         $path = base_path('/config');
57
-        $mainFile = $path . '/jlourenco.php';
57
+        $mainFile = $path.'/jlourenco.php';
58 58
         $fileExists = file_exists($mainFile);
59 59
 
60
-        $files = array_filter(scandir($path), function ($var) {
60
+        $files = array_filter(scandir($path), function($var) {
61 61
             return (!(stripos($var, 'jlourenco.') === false) && $var != 'jlourenco.php');
62 62
         });
63 63
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         foreach ($files as $file)
73 73
         {
74
-            $in = fopen($path . '/' . $file, "r");
74
+            $in = fopen($path.'/'.$file, "r");
75 75
 
76 76
             while ($line = fgets($in))
77 77
             {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
             fclose($in);
83 83
 
84
-            unlink($path . '/' . $file);
84
+            unlink($path.'/'.$file);
85 85
         }
86 86
 
87 87
         $content .= "];\n";
Please login to merge, or discard this patch.