Test Setup Failed
Push — 0.7 ( 8164bf...b2ca06 )
by
unknown
05:43
created
app/Http/Controllers/ToastController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function get(Request $request)
27 27
     {
28
-        if (! chiefAdmin()) {
28
+        if (!chiefAdmin()) {
29 29
             return response()->json(['data' => null]);
30 30
         }
31 31
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             view('chief-site::admin-toast-element', [
39 39
                 'editUrl' => $editUrl,
40 40
                 'toggleUrl' => route('chief.toast.toggle'),
41
-                'inPreviewMode' => (bool) $request->input('preview_mode', false),
41
+                'inPreviewMode' => (bool)$request->input('preview_mode', false),
42 42
             ])->render(),
43 43
         ]);
44 44
     }
Please login to merge, or discard this patch.