Completed
Push — master ( e57e16...c63ac5 )
by Cristian
02:13
created
src/app/Console/Commands/AddCustomRouteContent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             // insert the given code before the file's last line
53 53
             $file_lines = explode(PHP_EOL, $old_file_content);
54 54
             $end_line_number = $this->customRoutesFileEndLine($file_lines);
55
-            $file_lines[$end_line_number+1] = $file_lines[$end_line_number];
55
+            $file_lines[$end_line_number + 1] = $file_lines[$end_line_number];
56 56
             $file_lines[$end_line_number] = '    '.$code;
57 57
             $new_file_content = implode(PHP_EOL, $file_lines);
58 58
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
             $process = new Process($command, null, null, null, 300, null);
68 68
 
69
-            $process->run(function ($type, $buffer) {
69
+            $process->run(function($type, $buffer) {
70 70
                 if (Process::ERR === $type) {
71 71
                     $this->line($buffer);
72 72
                 } else {
Please login to merge, or discard this patch.