@@ -12,8 +12,8 @@ discard block |
||
| 12 | 12 | { |
| 13 | 13 | $method = $this->aliases[$method] ?? $method; |
| 14 | 14 | |
| 15 | - if (! isset($this->methods[$method])) { |
|
| 16 | - throw new \BadMethodCallException($method.' does not exists as a Heyman condition'); |
|
| 15 | + if (!isset($this->methods[$method])) { |
|
| 16 | + throw new \BadMethodCallException($method . ' does not exists as a Heyman condition'); |
|
| 17 | 17 | } |
| 18 | 18 | $condition = $this->methods[$method]; |
| 19 | 19 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | public function alias(string $currentName, string $newName) |
| 39 | 39 | { |
| 40 | - if (isset($this->methods[$currentName]) && ! isset($this->aliases[$newName])) { |
|
| 40 | + if (isset($this->methods[$currentName]) && !isset($this->aliases[$newName])) { |
|
| 41 | 41 | $this->aliases[$newName] = $currentName; |
| 42 | 42 | } |
| 43 | 43 | } |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | { |
| 20 | 20 | resolve('heyman.chain')->startChain(); |
| 21 | 21 | |
| 22 | - if (config('app.debug') && ! app()->environment('production')) { |
|
| 22 | + if (config('app.debug') && !app()->environment('production')) { |
|
| 23 | 23 | $info = array_only(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2)[1], ['file', 'line', 'args']); |
| 24 | 24 | resolve('heyman.chain')->set('debugInfo', $info); |
| 25 | 25 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | public function checkPoint(string $pointName) |
| 31 | 31 | { |
| 32 | - event('heyman_checkpoint_'.$pointName); |
|
| 32 | + event('heyman_checkpoint_' . $pointName); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | public function aliasCondition(string $currentName, string $newName) |