Passed
Push — Admin-section ( 0610b8...6c7c63 )
by Stone
02:07
created
Core/Dependency/Response.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             default:
24 24
                 $headerType = 'text/html';
25 25
         }
26
-        $contentType = 'Content-Type: ' . $headerType;
26
+        $contentType = 'Content-Type: '.$headerType;
27 27
 
28 28
         header($contentType);
29 29
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             }
42 42
         }
43 43
 
44
-        header("location: /" . $url);
44
+        header("location: /".$url);
45 45
         die(); //after redirect do not execute anything else from the function
46 46
     }
47 47
 }
48 48
\ No newline at end of file
Please login to merge, or discard this patch.
Core/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             $specialNamespace = array_shift($url);
68 68
 
69 69
             //making sure we have a single backslash
70
-            $specialNamespace = rtrim($specialNamespace, '\\') . '\\';
70
+            $specialNamespace = rtrim($specialNamespace, '\\').'\\';
71 71
 
72 72
             //capitalize the special namespace
73 73
             $specialNamespace = $this->convertToStudlyCaps($specialNamespace);
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     {
135 135
 
136 136
         //try to create the controller object
137
-        $fullControllerName = $this->currentNamespace . $this->currentController;
137
+        $fullControllerName = $this->currentNamespace.$this->currentController;
138 138
 
139 139
         //make sure the class exists before continuing
140 140
         if (!class_exists($fullControllerName)) {
Please login to merge, or discard this patch.