| @@ -4,7 +4,7 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Usernotnull\Toast\Toast; | 
| 6 | 6 | |
| 7 | -if (! function_exists('toast')) { | |
| 7 | +if ( ! function_exists('toast')) { | |
| 8 | 8 | function toast(): Toast | 
| 9 | 9 |      { | 
| 10 | 10 |          return app('toast'); | 
| @@ -10,7 +10,7 @@ | ||
| 10 | 10 |  { | 
| 11 | 11 | public function dehydrate(): void | 
| 12 | 12 |      { | 
| 13 | -        if (! ToastManager::componentRendered()) { | |
| 13 | +        if ( ! ToastManager::componentRendered()) { | |
| 14 | 14 |              foreach (ToastManager::pull() ?? [] as $notification) { | 
| 15 | 15 |                  $this->dispatchBrowserEvent('toast', $notification); | 
| 16 | 16 | } | 
| @@ -15,8 +15,8 @@ | ||
| 15 | 15 | |
| 16 | 16 | public function debug(mixed $message, string $title = null): Notification | 
| 17 | 17 |      { | 
| 18 | -        if (! is_string($message)) { | |
| 19 | - $message = json_encode($message, JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT); | |
| 18 | +        if ( ! is_string($message)) { | |
| 19 | + $message = json_encode($message, JSON_THROW_ON_ERROR|JSON_PRETTY_PRINT); | |
| 20 | 20 | } | 
| 21 | 21 | |
| 22 | 22 | return new Notification($message, $title, NotificationType::$debug); | 
| @@ -3,4 +3,4 @@ | ||
| 3 | 3 | declare(strict_types=1); | 
| 4 | 4 | |
| 5 | 5 | /* This file is required for phpstan */ | 
| 6 | -return include getcwd()."/vendor/orchestra/testbench-core/laravel/bootstrap/app.php"; | |
| 6 | +return include getcwd() . "/vendor/orchestra/testbench-core/laravel/bootstrap/app.php"; | |