@@ -21,7 +21,7 @@ discard block |
||
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 |
||
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://'; |