Passed
Push — master ( 7dcfdb...0cf6ea )
by Darko
09:47
created
app/Http/Controllers/Admin/AdminContentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
             if (!$hasProtocol && !$isDomain) {
205 205
                 // Ensure internal URL starts with /
206 206
                 if ($url !== '/' && !str_starts_with($url, '/')) {
207
-                    $data['url'] = '/' . $url;
207
+                    $data['url'] = '/'.$url;
208 208
                 }
209 209
 
210 210
                 // Ensure internal URL ends with /
Please login to merge, or discard this patch.
app/View/Composers/GlobalDataComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
         ];
32 32
 
33 33
         // Email views expect $site to be the string provided by the mailable
34
-        if (! $isEmailView) {
35
-            $viewData['site'] = $siteArray;  // Now it's a proper array, not a Settings model
34
+        if (!$isEmailView) {
35
+            $viewData['site'] = $siteArray; // Now it's a proper array, not a Settings model
36 36
         }
37 37
 
38 38
         // Load useful links for sidebar
Please login to merge, or discard this patch.