Passed
Push — main ( b0a561...bd46d7 )
by John
03:47
created
src/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Concerns/WireToast.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/ToastManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     {
94 94
         return collect($notifications)
95 95
             ->filter(
96
-                fn (array $notification) => ! App::isProduction() || $notification['type'] !== NotificationType::$debug
96
+                fn(array $notification) => ! App::isProduction() || $notification['type'] !== NotificationType::$debug
97 97
             )
98 98
             ->values()
99 99
             ->toArray();
Please login to merge, or discard this patch.