@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | public function checkPoint(string $pointName) |
| 28 | 28 | { |
| 29 | - event('heyman_checkpoint_'.$pointName); |
|
| 29 | + event('heyman_checkpoint_' . $pointName); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | public function aliasCondition(string $currentName, string $newName) |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | private function writeDebugInfo($debugTrace) |
| 51 | 51 | { |
| 52 | - if (config('app.debug') && ! app()->environment('production')) { |
|
| 52 | + if (config('app.debug') && !app()->environment('production')) { |
|
| 53 | 53 | $info = array_only($debugTrace, ['file', 'line', 'args']); |
| 54 | 54 | resolve('heyman.chain')->set('debugInfo', $info); |
| 55 | 55 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function normalize($method, $name) |
| 14 | 14 | { |
| 15 | 15 | if ($method == 'whenYouReachCheckPoint') { |
| 16 | - $name[0] = 'heyman_checkpoint_'.$name[0]; |
|
| 16 | + $name[0] = 'heyman_checkpoint_' . $name[0]; |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | return [$name]; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function normalize($method, $params) |
| 13 | 13 | { |
| 14 | - array_walk($params, function ($view) { |
|
| 14 | + array_walk($params, function($view) { |
|
| 15 | 15 | $this->checkViewExists($view); |
| 16 | 16 | }); |
| 17 | 17 | |