Passed
Push — Admin-section ( dfce56...84d20c )
by Stone
02:22
created
Core/Dependency/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
     public function redirect(string $url = ''): void
36 36
     {
37 37
         //if the url was passed with a forward slash, remove it as it will be added later.
38
-        if($url !== ''){
39
-            if($url[0]==='/'){
40
-                $url=substr($url, 1);
38
+        if ($url !== '') {
39
+            if ($url[0] === '/') {
40
+                $url = substr($url, 1);
41 41
             }
42 42
         }
43 43
 
Please login to merge, or discard this patch.