@@ -52,7 +52,7 @@ discard block |
||
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 |
||
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 { |