@@ -67,7 +67,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |