Passed
Push — master ( be6a60...a76412 )
by Fran
03:49
created
src/base/types/traits/Helper/ServerTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function getServer($key, $default = null)
22 22
     {
23 23
         $value = null;
24
-        if(array_key_exists($key, $this->server)) {
24
+        if (array_key_exists($key, $this->server)) {
25 25
             $value = $this->server[$key];
26 26
         }
27 27
         return $value ?: $default;
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function getProtocol()
62 62
     {
63
-        if(Config::getParam('force.https', false)) {
63
+        if (Config::getParam('force.https', false)) {
64 64
             return 'https://';
65 65
         }
66 66
         return ($this->getServer('HTTPS') || $this->getServer('https')) ? 'https://' : 'http://';
Please login to merge, or discard this patch.