Passed
Push — Accessing-and-setting-the-site... ( c85d15...7ed64c )
by Stone
03:19
created
App/Controllers/Admin/Update.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 class Update extends AdminController {
8 8
 
9 9
 
10
-    public function index(){
10
+    public function index() {
11 11
         echo'TEST';
12 12
     }
13 13
 
14
-    public function updateConfig(){
14
+    public function updateConfig() {
15 15
         //$this->onlyAdmin();
16 16
         echo '<pre>';
17 17
         var_dump($_POST);
Please login to merge, or discard this patch.
Core/Dependency/Request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         throw new \Exception("Unknown Request Method");
31 31
     }
32 32
 
33
-    public function getUri(){
33
+    public function getUri() {
34 34
         return $_SERVER['REQUEST_URI'];
35 35
     }
36 36
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $host = $_SERVER['HTTP_HOST'];
65 65
         $https = !empty($_SERVER['HTTPS']) ? 'https' : 'http';
66
-        return $https . '://' . $host . '/';
66
+        return $https.'://'.$host.'/';
67 67
     }
68 68
 
69 69
     /**
Please login to merge, or discard this patch.