@@ -105,13 +105,13 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | // autoload presenter assets |
| 108 | - if (isset($config[ 'assets' ])) { |
|
| 109 | - $this->assets->autoload($config[ 'assets' ]); |
|
| 108 | + if (isset($config['assets'])) { |
|
| 109 | + $this->assets->autoload($config['assets']); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | // autoload presenter theme |
| 113 | - if (isset($config[ 'theme' ])) { |
|
| 114 | - if (false !== ($theme = $config[ 'theme' ])) { |
|
| 113 | + if (isset($config['theme'])) { |
|
| 114 | + if (false !== ($theme = $config['theme'])) { |
|
| 115 | 115 | $this->setTheme($theme); |
| 116 | 116 | } |
| 117 | 117 | } |
@@ -190,25 +190,25 @@ discard block |
||
| 190 | 190 | $storage = $this->storage; |
| 191 | 191 | |
| 192 | 192 | // Add Properties |
| 193 | - $storage[ 'meta' ] = $this->meta; |
|
| 194 | - $storage[ 'page' ] = $this->page; |
|
| 195 | - $storage[ 'assets' ] = new SplArrayObject([ |
|
| 193 | + $storage['meta'] = $this->meta; |
|
| 194 | + $storage['page'] = $this->page; |
|
| 195 | + $storage['assets'] = new SplArrayObject([ |
|
| 196 | 196 | 'head' => $this->assets->getHead(), |
| 197 | 197 | 'body' => $this->assets->getBody(), |
| 198 | 198 | ]); |
| 199 | - $storage[ 'partials' ] = $this->partials; |
|
| 200 | - $storage[ 'widgets' ] = $this->widgets; |
|
| 201 | - $storage[ 'theme' ] = $this->theme; |
|
| 199 | + $storage['partials'] = $this->partials; |
|
| 200 | + $storage['widgets'] = $this->widgets; |
|
| 201 | + $storage['theme'] = $this->theme; |
|
| 202 | 202 | |
| 203 | 203 | // Add Services |
| 204 | - $storage[ 'config' ] = config(); |
|
| 205 | - $storage[ 'language' ] = language(); |
|
| 206 | - $storage[ 'session' ] = session(); |
|
| 207 | - $storage[ 'presenter' ] = presenter(); |
|
| 208 | - $storage[ 'input' ] = input(); |
|
| 204 | + $storage['config'] = config(); |
|
| 205 | + $storage['language'] = language(); |
|
| 206 | + $storage['session'] = session(); |
|
| 207 | + $storage['presenter'] = presenter(); |
|
| 208 | + $storage['input'] = input(); |
|
| 209 | 209 | |
| 210 | 210 | if (services()->has('csrfProtection')) { |
| 211 | - $storage[ 'csrfToken' ] = services()->get('csrfProtection')->getToken(); |
|
| 211 | + $storage['csrfToken'] = services()->get('csrfProtection')->getToken(); |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | return $storage; |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | ); |
| 73 | 73 | |
| 74 | 74 | if ($this->config->offsetExists('extensions')) { |
| 75 | - $this->setFileExtensions($this->config[ 'extensions' ]); |
|
| 75 | + $this->setFileExtensions($this->config['extensions']); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | $this->document = new Html\Document(); |
@@ -88,13 +88,13 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function &__get($property) |
| 90 | 90 | { |
| 91 | - $get[ $property ] = false; |
|
| 91 | + $get[$property] = false; |
|
| 92 | 92 | |
| 93 | 93 | if (property_exists($this, $property)) { |
| 94 | 94 | return $this->{$property}; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - return $get[ $property ]; |
|
| 97 | + return $get[$property]; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | // ------------------------------------------------------------------------ |
@@ -205,8 +205,8 @@ discard block |
||
| 205 | 205 | $error = new ErrorException( |
| 206 | 206 | 'E_VIEW_NOT_FOUND', |
| 207 | 207 | 0, |
| 208 | - @$backtrace[ 0 ][ 'file' ], |
|
| 209 | - @$backtrace[ 0 ][ 'line' ], |
|
| 208 | + @$backtrace[0]['file'], |
|
| 209 | + @$backtrace[0]['line'], |
|
| 210 | 210 | [trim($filename)] |
| 211 | 211 | ); |
| 212 | 212 | |
@@ -455,12 +455,12 @@ discard block |
||
| 455 | 455 | $htmlOutput = $this->document->saveHTML(); |
| 456 | 456 | |
| 457 | 457 | // Uglify Output |
| 458 | - if ($this->config->output[ 'uglify' ] === true) { |
|
| 458 | + if ($this->config->output['uglify'] === true) { |
|
| 459 | 459 | $htmlOutput = preg_replace( |
| 460 | 460 | [ |
| 461 | - '/\>[^\S ]+/s', // strip whitespaces after tags, except space |
|
| 462 | - '/[^\S ]+\</s', // strip whitespaces before tags, except space |
|
| 463 | - '/(\s)+/s', // shorten multiple whitespace sequences |
|
| 461 | + '/\>[^\S ]+/s', // strip whitespaces after tags, except space |
|
| 462 | + '/[^\S ]+\</s', // strip whitespaces before tags, except space |
|
| 463 | + '/(\s)+/s', // shorten multiple whitespace sequences |
|
| 464 | 464 | '/<!--(.|\s)*?-->/', // Remove HTML comments |
| 465 | 465 | '/<!--(.*)-->/Uis', |
| 466 | 466 | "/[[:blank:]]+/", |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | } |
| 478 | 478 | |
| 479 | 479 | // Beautify Output |
| 480 | - if ($this->config->output[ 'beautify' ] === true) { |
|
| 480 | + if ($this->config->output['beautify'] === true) { |
|
| 481 | 481 | $beautifier = new Html\Dom\Beautifier(); |
| 482 | 482 | $htmlOutput = $beautifier->format($htmlOutput); |
| 483 | 483 | } |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function &__get($property) |
| 35 | 35 | { |
| 36 | - $get[ $property ] = false; |
|
| 36 | + $get[$property] = false; |
|
| 37 | 37 | |
| 38 | 38 | // CodeIgniter property aliasing |
| 39 | 39 | if ($property === 'load') { |
@@ -41,15 +41,15 @@ discard block |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | if (services()->has($property)) { |
| 44 | - $get[ $property ] = services()->get($property); |
|
| 44 | + $get[$property] = services()->get($property); |
|
| 45 | 45 | } elseif (o2system()->__isset($property)) { |
| 46 | - $get[ $property ] = o2system()->__get($property); |
|
| 46 | + $get[$property] = o2system()->__get($property); |
|
| 47 | 47 | } elseif ($property === 'model') { |
| 48 | - $get[ $property ] = models('controller'); |
|
| 48 | + $get[$property] = models('controller'); |
|
| 49 | 49 | } elseif ($property === 'services' || $property === 'libraries') { |
| 50 | - $get[ $property ] = services(); |
|
| 50 | + $get[$property] = services(); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - return $get[ $property ]; |
|
| 53 | + return $get[$property]; |
|
| 54 | 54 | } |
| 55 | 55 | } |
| 56 | 56 | \ No newline at end of file |
@@ -111,24 +111,24 @@ discard block |
||
| 111 | 111 | |
| 112 | 112 | $this->imageFilePath = $this->imageNotFoundFilename; |
| 113 | 113 | |
| 114 | - $this->imageSize[ 'width' ] = $this->input->get('width'); |
|
| 115 | - $this->imageSize[ 'height' ] = $this->input->get('height'); |
|
| 114 | + $this->imageSize['width'] = $this->input->get('width'); |
|
| 115 | + $this->imageSize['height'] = $this->input->get('height'); |
|
| 116 | 116 | $this->imageScale = $this->input->get('scale'); |
| 117 | 117 | $this->imageQuality = $this->input->get('quality'); |
| 118 | 118 | $this->imageCrop = $this->input->get('crop'); |
| 119 | 119 | |
| 120 | 120 | if (false !== ($key = array_search('crop', $segments))) { |
| 121 | 121 | $this->imageCrop = true; |
| 122 | - unset($segments[ $key ]); |
|
| 122 | + unset($segments[$key]); |
|
| 123 | 123 | $segments = array_values($segments); |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | if (count($segments) == 1) { |
| 127 | 127 | $this->imageFilePath = $this->storagePath . end($segments); |
| 128 | 128 | } elseif (count($segments) >= 2) { |
| 129 | - if (preg_match("/(\d+)(x)(\d+)/", $segments[ count($segments) - 2 ], $matches)) { |
|
| 130 | - $this->imageSize[ 'width' ] = $matches[ 1 ]; |
|
| 131 | - $this->imageSize[ 'height' ] = $matches[ 3 ]; |
|
| 129 | + if (preg_match("/(\d+)(x)(\d+)/", $segments[count($segments) - 2], $matches)) { |
|
| 130 | + $this->imageSize['width'] = $matches[1]; |
|
| 131 | + $this->imageSize['height'] = $matches[3]; |
|
| 132 | 132 | |
| 133 | 133 | if (count($segments) == 2) { |
| 134 | 134 | $this->imageFilePath = $this->storagePath . end($segments); |
@@ -137,10 +137,10 @@ discard block |
||
| 137 | 137 | array_slice($segments, 0, |
| 138 | 138 | count($segments) - 2)) . DIRECTORY_SEPARATOR . end($segments); |
| 139 | 139 | } |
| 140 | - } elseif (preg_match("/(\d+)(p)/", $segments[ count($segments) - 2 ], |
|
| 141 | - $matches) or is_numeric($segments[ count($segments) - 2 ]) |
|
| 140 | + } elseif (preg_match("/(\d+)(p)/", $segments[count($segments) - 2], |
|
| 141 | + $matches) or is_numeric($segments[count($segments) - 2]) |
|
| 142 | 142 | ) { |
| 143 | - $this->imageScale = isset($matches[ 1 ]) ? $matches[ 1 ] : $segments[ count($segments) - 2 ]; |
|
| 143 | + $this->imageScale = isset($matches[1]) ? $matches[1] : $segments[count($segments) - 2]; |
|
| 144 | 144 | if (count($segments) == 2) { |
| 145 | 145 | $this->imageFilePath = $this->storagePath . end($segments); |
| 146 | 146 | } else { |
@@ -154,14 +154,14 @@ discard block |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | $imageFilePath = $this->imageFilePath; |
| 157 | - $extensions[ 0 ] = pathinfo($imageFilePath, PATHINFO_EXTENSION); |
|
| 157 | + $extensions[0] = pathinfo($imageFilePath, PATHINFO_EXTENSION); |
|
| 158 | 158 | |
| 159 | 159 | for ($i = 0; $i < 2; $i++) { |
| 160 | 160 | $extension = pathinfo($imageFilePath, PATHINFO_EXTENSION); |
| 161 | 161 | |
| 162 | 162 | if ($extension !== '') { |
| 163 | - $extensions[ $i ] = $extension; |
|
| 164 | - $imageFilePath = str_replace('.' . $extensions[ $i ], '', $imageFilePath); |
|
| 163 | + $extensions[$i] = $extension; |
|
| 164 | + $imageFilePath = str_replace('.' . $extensions[$i], '', $imageFilePath); |
|
| 165 | 165 | } |
| 166 | 166 | } |
| 167 | 167 | |
@@ -173,13 +173,13 @@ discard block |
||
| 173 | 173 | ]; |
| 174 | 174 | |
| 175 | 175 | if (count($extensions) == 2) { |
| 176 | - $this->imageFilePath = $imageFilePath . '.' . $extensions[ 1 ]; |
|
| 176 | + $this->imageFilePath = $imageFilePath . '.' . $extensions[1]; |
|
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | if (array_key_exists($extension = reset($extensions), $mimes)) { |
| 180 | - $this->imageFileMime = $mimes[ $extension ]; |
|
| 180 | + $this->imageFileMime = $mimes[$extension]; |
|
| 181 | 181 | } elseif (array_key_exists($extension = pathinfo($this->imageFilePath, PATHINFO_EXTENSION), $mimes)) { |
| 182 | - $this->imageFileMime = $mimes[ $extension ]; |
|
| 182 | + $this->imageFileMime = $mimes[$extension]; |
|
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | if ( ! is_file($this->imageFilePath)) { |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | |
| 189 | 189 | if ( ! empty($this->imageScale)) { |
| 190 | 190 | $this->scale(); |
| 191 | - } elseif ( ! empty($this->imageSize[ 'width' ]) || ! empty($this->imageSize[ 'height' ])) { |
|
| 191 | + } elseif ( ! empty($this->imageSize['width']) || ! empty($this->imageSize['height'])) { |
|
| 192 | 192 | $this->resize(); |
| 193 | 193 | } else { |
| 194 | 194 | $this->original(); |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | } else { |
| 279 | 279 | $manipulation = new Manipulation($config); |
| 280 | 280 | $manipulation->setImageFile($this->imageFilePath); |
| 281 | - $manipulation->resizeImage($this->imageSize[ 'width' ], $this->imageSize[ 'height' ], |
|
| 281 | + $manipulation->resizeImage($this->imageSize['width'], $this->imageSize['height'], |
|
| 282 | 282 | (bool)$this->imageCrop); |
| 283 | 283 | $cacheItemPool->save(new Item($cacheImageKey, $manipulation->getBlobImage(), false)); |
| 284 | 284 | |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | |
| 292 | 292 | $manipulation = new Manipulation($config); |
| 293 | 293 | $manipulation->setImageFile($this->imageFilePath); |
| 294 | - $manipulation->resizeImage($this->imageSize[ 'width' ], $this->imageSize[ 'height' ], (bool)$this->imageCrop); |
|
| 294 | + $manipulation->resizeImage($this->imageSize['width'], $this->imageSize['height'], (bool)$this->imageCrop); |
|
| 295 | 295 | $manipulation->displayImage(intval($this->imageQuality), $this->imageFileMime); |
| 296 | 296 | exit(EXIT_SUCCESS); |
| 297 | 297 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function index() |
| 30 | 30 | { |
| 31 | - if(false !== ($config = $this->config->loadFile('manifest', true))) { |
|
| 31 | + if (false !== ($config = $this->config->loadFile('manifest', true))) { |
|
| 32 | 32 | print_out('test'); |
| 33 | 33 | } |
| 34 | 34 | |
@@ -282,21 +282,21 @@ |
||
| 282 | 282 | ]; |
| 283 | 283 | |
| 284 | 284 | $this->statusCode = $code; |
| 285 | - $this->reasonPhrase = $error[ 'title' ]; |
|
| 285 | + $this->reasonPhrase = $error['title']; |
|
| 286 | 286 | |
| 287 | 287 | if (is_string($vars)) { |
| 288 | 288 | $vars = ['message' => $vars]; |
| 289 | - } elseif (is_array($vars) and empty($vars[ 'message' ])) { |
|
| 290 | - $vars[ 'message' ] = $error[ 'message' ]; |
|
| 289 | + } elseif (is_array($vars) and empty($vars['message'])) { |
|
| 290 | + $vars['message'] = $error['message']; |
|
| 291 | 291 | } |
| 292 | 292 | |
| 293 | - if (isset($vars[ 'message' ])) { |
|
| 294 | - $error[ 'message' ] = $vars[ 'message' ]; |
|
| 293 | + if (isset($vars['message'])) { |
|
| 294 | + $error['message'] = $vars['message']; |
|
| 295 | 295 | } |
| 296 | 296 | |
| 297 | 297 | if (is_ajax() or $this->mimeType !== 'text/html') { |
| 298 | 298 | $this->statusCode = $code; |
| 299 | - $this->reasonPhrase = $error[ 'title' ]; |
|
| 299 | + $this->reasonPhrase = $error['title']; |
|
| 300 | 300 | $this->send($vars); |
| 301 | 301 | |
| 302 | 302 | exit(EXIT_ERROR); |
@@ -152,8 +152,8 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | public function __construct() |
| 154 | 154 | { |
| 155 | - if (isset($_SERVER[ 'HTTP_USER_AGENT' ])) { |
|
| 156 | - $this->string = trim($_SERVER[ 'HTTP_USER_AGENT' ]); |
|
| 155 | + if (isset($_SERVER['HTTP_USER_AGENT'])) { |
|
| 156 | + $this->string = trim($_SERVER['HTTP_USER_AGENT']); |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | if ($this->string !== null && $this->loadAgentFile()) { |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | } |
| 277 | 277 | |
| 278 | 278 | // Check for a specific browser |
| 279 | - return (isset(static::$browsers[ $key ]) && $this->browser === static::$browsers[ $key ]); |
|
| 279 | + return (isset(static::$browsers[$key]) && $this->browser === static::$browsers[$key]); |
|
| 280 | 280 | } |
| 281 | 281 | |
| 282 | 282 | // -------------------------------------------------------------------- |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | } |
| 301 | 301 | |
| 302 | 302 | // Check for a specific robot |
| 303 | - return (isset(static::$robots[ $key ]) && $this->robot === static::$robots[ $key ]); |
|
| 303 | + return (isset(static::$robots[$key]) && $this->robot === static::$robots[$key]); |
|
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | // -------------------------------------------------------------------- |
@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | } |
| 327 | 327 | |
| 328 | 328 | // Check for a specific robot |
| 329 | - return (isset(static::$mobiles[ $key ]) && $this->mobile === static::$mobiles[ $key ]); |
|
| 329 | + return (isset(static::$mobiles[$key]) && $this->mobile === static::$mobiles[$key]); |
|
| 330 | 330 | } |
| 331 | 331 | |
| 332 | 332 | // -------------------------------------------------------------------- |
@@ -341,10 +341,10 @@ discard block |
||
| 341 | 341 | public function isReferral() |
| 342 | 342 | { |
| 343 | 343 | if ( ! isset($this->referer)) { |
| 344 | - if (empty($_SERVER[ 'HTTP_REFERER' ])) { |
|
| 344 | + if (empty($_SERVER['HTTP_REFERER'])) { |
|
| 345 | 345 | $this->referer = false; |
| 346 | 346 | } else { |
| 347 | - $referer_host = @parse_url($_SERVER[ 'HTTP_REFERER' ], PHP_URL_HOST); |
|
| 347 | + $referer_host = @parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST); |
|
| 348 | 348 | $own_host = parse_url(base_url(), PHP_URL_HOST); |
| 349 | 349 | |
| 350 | 350 | $this->referer = ($referer_host && $referer_host !== $own_host); |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | */ |
| 450 | 450 | public function isHttpReferrerExists() |
| 451 | 451 | { |
| 452 | - return empty($_SERVER[ 'HTTP_REFERER' ]) ? '' : trim($_SERVER[ 'HTTP_REFERER' ]); |
|
| 452 | + return empty($_SERVER['HTTP_REFERER']) ? '' : trim($_SERVER['HTTP_REFERER']); |
|
| 453 | 453 | } |
| 454 | 454 | |
| 455 | 455 | // -------------------------------------------------------------------- |
@@ -497,13 +497,13 @@ discard block |
||
| 497 | 497 | */ |
| 498 | 498 | protected function setLanguages() |
| 499 | 499 | { |
| 500 | - if ((count($this->languages) === 0) && ! empty($_SERVER[ 'HTTP_ACCEPT_LANGUAGE' ])) { |
|
| 500 | + if ((count($this->languages) === 0) && ! empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
|
| 501 | 501 | $this->languages = explode( |
| 502 | 502 | ',', |
| 503 | 503 | preg_replace( |
| 504 | 504 | '/(;\s?q=[0-9\.]+)|\s/i', |
| 505 | 505 | '', |
| 506 | - strtolower(trim($_SERVER[ 'HTTP_ACCEPT_LANGUAGE' ])) |
|
| 506 | + strtolower(trim($_SERVER['HTTP_ACCEPT_LANGUAGE'])) |
|
| 507 | 507 | ) |
| 508 | 508 | ); |
| 509 | 509 | } |
@@ -557,13 +557,13 @@ discard block |
||
| 557 | 557 | */ |
| 558 | 558 | protected function setCharsets() |
| 559 | 559 | { |
| 560 | - if ((count($this->charsets) === 0) && ! empty($_SERVER[ 'HTTP_ACCEPT_CHARSET' ])) { |
|
| 560 | + if ((count($this->charsets) === 0) && ! empty($_SERVER['HTTP_ACCEPT_CHARSET'])) { |
|
| 561 | 561 | $this->charsets = explode( |
| 562 | 562 | ',', |
| 563 | 563 | preg_replace( |
| 564 | 564 | '/(;\s?q=.+)|\s/i', |
| 565 | 565 | '', |
| 566 | - strtolower(trim($_SERVER[ 'HTTP_ACCEPT_CHARSET' ])) |
|
| 566 | + strtolower(trim($_SERVER['HTTP_ACCEPT_CHARSET'])) |
|
| 567 | 567 | ) |
| 568 | 568 | ); |
| 569 | 569 | } |
@@ -618,7 +618,7 @@ discard block |
||
| 618 | 618 | foreach (static::$browsers as $key => $val) { |
| 619 | 619 | if (preg_match('|' . $key . '.*?([0-9\.]+)|i', $this->string, $match)) { |
| 620 | 620 | $this->isBrowser = true; |
| 621 | - $this->browserVersion = $match[ 1 ]; |
|
| 621 | + $this->browserVersion = $match[1]; |
|
| 622 | 622 | $this->browser = $val; |
| 623 | 623 | $this->setMobile(); |
| 624 | 624 | |
@@ -418,12 +418,12 @@ |
||
| 418 | 418 | $session->set('language', language()->getDefault()); |
| 419 | 419 | } |
| 420 | 420 | |
| 421 | - if (config('security')->protection[ 'csrf' ] === true) { |
|
| 421 | + if (config('security')->protection['csrf'] === true) { |
|
| 422 | 422 | $csrfProtection = new Security\Protections\Csrf(); |
| 423 | 423 | $this->services->add($csrfProtection, 'csrfProtection'); |
| 424 | 424 | } |
| 425 | 425 | |
| 426 | - if (config('security')->protection[ 'xss' ] === true) { |
|
| 426 | + if (config('security')->protection['xss'] === true) { |
|
| 427 | 427 | $xssProtection = new Security\Protections\Xss(); |
| 428 | 428 | $this->services->add($xssProtection, 'xssProtection'); |
| 429 | 429 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function &__get($property) |
| 32 | 32 | { |
| 33 | - $get[ $property ] = false; |
|
| 33 | + $get[$property] = false; |
|
| 34 | 34 | |
| 35 | 35 | // CodeIgniter property aliasing |
| 36 | 36 | if ($property === 'load') { |
@@ -45,6 +45,6 @@ discard block |
||
| 45 | 45 | return models('controller'); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | - return $get[ $property ]; |
|
| 48 | + return $get[$property]; |
|
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | \ No newline at end of file |