@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | public static function getInstance() |
| 84 | 84 | { |
| 85 | - if(self::$xInstance == null) |
|
| 85 | + if (self::$xInstance == null) |
|
| 86 | 86 | { |
| 87 | 87 | self::$xInstance = new Jaxon(); |
| 88 | 88 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | public function __construct() |
| 96 | 96 | { |
| 97 | - if(self::$xContainer == null) |
|
| 97 | + if (self::$xContainer == null) |
|
| 98 | 98 | { |
| 99 | 99 | self::$xContainer = new Container(); |
| 100 | 100 | $this->setDefaultOptions(); |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | 'core.prefix.class' => 'Jaxon', |
| 155 | 155 | // 'core.request.uri' => '', |
| 156 | 156 | 'core.request.mode' => 'asynchronous', |
| 157 | - 'core.request.method' => 'POST', // W3C: Method is case sensitive |
|
| 157 | + 'core.request.method' => 'POST', // W3C: Method is case sensitive |
|
| 158 | 158 | 'core.response.send' => true, |
| 159 | 159 | 'core.response.merge.ap' => true, |
| 160 | 160 | 'core.response.merge.js' => true, |
@@ -240,11 +240,11 @@ discard block |
||
| 240 | 240 | */ |
| 241 | 241 | public function register($sType, $sCallable, $xOptions = []) |
| 242 | 242 | { |
| 243 | - if($sType == Jaxon::PROCESSING_EVENT) |
|
| 243 | + if ($sType == Jaxon::PROCESSING_EVENT) |
|
| 244 | 244 | { |
| 245 | 245 | $sEvent = $sCallable; |
| 246 | 246 | $xCallback = $xOptions; |
| 247 | - switch($sEvent) |
|
| 247 | + switch ($sEvent) |
|
| 248 | 248 | { |
| 249 | 249 | case Jaxon::PROCESSING_EVENT_BEFORE: |
| 250 | 250 | $this->callback()->before($xCallback); |