@@ -4,16 +4,16 @@ discard block |
||
| 4 | 4 | // mix('js/app.js') |
| 5 | 5 | function mix($path, $json = false, $shouldHotReload = false) |
| 6 | 6 | { |
| 7 | - if (! $json) static $json; |
|
| 8 | - if (! $shouldHotReload) static $shouldHotReload; |
|
| 7 | + if (!$json) static $json; |
|
| 8 | + if (!$shouldHotReload) static $shouldHotReload; |
|
| 9 | 9 | |
| 10 | - if (! $json) { |
|
| 10 | + if (!$json) { |
|
| 11 | 11 | $manifestPath = public_path('manifest.json'); |
| 12 | 12 | $shouldHotReload = file_exists(public_path('hot')); |
| 13 | 13 | |
| 14 | - if (! file_exists($manifestPath)) { |
|
| 14 | + if (!file_exists($manifestPath)) { |
|
| 15 | 15 | throw new Exception( |
| 16 | - 'The Laravel Mix manifest file does not exist. ' . |
|
| 16 | + 'The Laravel Mix manifest file does not exist. '. |
|
| 17 | 17 | 'Please run "npm run webpack" and try again.' |
| 18 | 18 | ); |
| 19 | 19 | } |
@@ -23,9 +23,9 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | $path = pathinfo($path, PATHINFO_BASENAME); |
| 25 | 25 | |
| 26 | - if (! array_key_exists($path, $json)) { |
|
| 26 | + if (!array_key_exists($path, $json)) { |
|
| 27 | 27 | throw new Exception( |
| 28 | - 'Unknown file path. Please check your requested ' . |
|
| 28 | + 'Unknown file path. Please check your requested '. |
|
| 29 | 29 | 'webpack.mix.js output path, and try again.' |
| 30 | 30 | ); |
| 31 | 31 | } |