Passed
Push — main ( e95f8b...575c8a )
by
unknown
07:51 queued 03:48
created
src/Http/Redirection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         // Si cela semble être une URL relative, alors convertissez-la en URL complète
69 69
         // pour une meilleure sécurité.
70
-        if (! str_starts_with($uri, 'http')) {
70
+        if (!str_starts_with($uri, 'http')) {
71 71
             $uri = site_url($uri);
72 72
         }
73 73
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     {
137 137
         $request = $this->generator->getRequest();
138 138
 
139
-        $intended = $request->method() === 'GET' && ! $request->expectsJson()
139
+        $intended = $request->method() === 'GET' && !$request->expectsJson()
140 140
                         ? $this->generator->full()
141 141
                         : $this->generator->previous();
142 142
 
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
             $errors = [$key => $errors];
191 191
         }
192 192
 
193
-        if (! empty($errors)) {
193
+        if (!empty($errors)) {
194 194
             $this->session->flashErrors($errors, $key);
195 195
         }
196 196
 
Please login to merge, or discard this patch.