@@ -53,7 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | public function exceptionHandler($ex) { |
| 56 | - $lastTrace = $ex->getTrace()[count($ex->getTrace()) -1]; |
|
| 56 | + $lastTrace = $ex->getTrace()[count($ex->getTrace()) - 1]; |
|
| 57 | 57 | $output = <<<EXC |
| 58 | 58 | <!DOCTYPE> |
| 59 | 59 | <html> |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | $args = func_get_args(); |
| 142 | 142 | $this->methods = array_merge($this->methods, $args); |
| 143 | 143 | } |
| 144 | - public function getParams(){ |
|
| 144 | + public function getParams() { |
|
| 145 | 145 | return $this->params; |
| 146 | 146 | } |
| 147 | 147 | public function match($uri) { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | $lastIndex = $firstIndex + strlen($substrToRemove); |
| 42 | 42 | $pre = substr($string, 0, $firstIndex); |
| 43 | 43 | $post = substr($string, $lastIndex); |
| 44 | - return $pre . $post; |
|
| 44 | + return $pre.$post; |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | public static function inString($string, $strToSearch) { |