@@ -55,8 +55,8 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | $this->services = new Kernel\Containers\Services(); |
| 57 | 57 | |
| 58 | - if (isset($_ENV[ 'DEBUG_STAGE' ]) and $_ENV[ 'DEBUG_STAGE' ] === 'DEVELOPER') { |
|
| 59 | - if(class_exists('\O2System\Gear\Profiler')) { |
|
| 58 | + if (isset($_ENV['DEBUG_STAGE']) and $_ENV['DEBUG_STAGE'] === 'DEVELOPER') { |
|
| 59 | + if (class_exists('\O2System\Gear\Profiler')) { |
|
| 60 | 60 | $this->services->load(Gear\Profiler::class); |
| 61 | 61 | } |
| 62 | 62 | |
@@ -150,14 +150,14 @@ discard block |
||
| 150 | 150 | */ |
| 151 | 151 | public function &__get($property) |
| 152 | 152 | { |
| 153 | - $get[ $property ] = null; |
|
| 153 | + $get[$property] = null; |
|
| 154 | 154 | |
| 155 | 155 | if (isset($this->{$property})) { |
| 156 | - $get[ $property ] =& $this->{$property}; |
|
| 156 | + $get[$property] = & $this->{$property}; |
|
| 157 | 157 | } elseif ($this->services->has($property)) { |
| 158 | - $get[ $property ] = $this->services->get($property); |
|
| 158 | + $get[$property] = $this->services->get($property); |
|
| 159 | 159 | } |
| 160 | 160 | |
| 161 | - return $get[ $property ]; |
|
| 161 | + return $get[$property]; |
|
| 162 | 162 | } |
| 163 | 163 | } |
| 164 | 164 | \ No newline at end of file |