@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (! function_exists('guard')) { |
|
| 3 | +if (!function_exists('guard')) { |
|
| 4 | 4 | function guard(\Larapie\Guard\Contracts\GuardContract ...$guards) :void |
| 5 | 5 | { |
| 6 | 6 | (new \Larapie\Guard\Dispatcher\GuardDispatcher($guards))->dispatch(); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | protected function resolveException($exception) :\Throwable |
| 35 | 35 | { |
| 36 | - if (is_string($exception) || ! ($exception instanceof \Throwable)) { |
|
| 36 | + if (is_string($exception) || !($exception instanceof \Throwable)) { |
|
| 37 | 37 | try { |
| 38 | 38 | $exception = new $exception; |
| 39 | 39 | } catch (\Exception $e) { |