@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function searchRegExp(): string |
| 18 | 18 | { |
| 19 | - return '(\[fp:'.BaseType::PARAMETER_NAME_REGEXP.'+\])'; |
|
| 19 | + return '(\[fp:' . BaseType::PARAMETER_NAME_REGEXP . '+\])'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function searchRegExp(): string |
| 18 | 18 | { |
| 19 | - return '(\[s:'.BaseType::PARAMETER_NAME_REGEXP.'\])'; |
|
| 19 | + return '(\[s:' . BaseType::PARAMETER_NAME_REGEXP . '\])'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function searchRegExp(): string |
| 18 | 18 | { |
| 19 | - return '(\[il:'.BaseType::PARAMETER_NAME_REGEXP.'\])'; |
|
| 19 | + return '(\[il:' . BaseType::PARAMETER_NAME_REGEXP . '\])'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function searchRegExp(): string |
| 18 | 18 | { |
| 19 | - return '(\[a:'.BaseType::PARAMETER_NAME_REGEXP.'\])'; |
|
| 19 | + return '(\[a:' . BaseType::PARAMETER_NAME_REGEXP . '\])'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function searchRegExp(): string |
| 18 | 18 | { |
| 19 | - return '(\[i:'.BaseType::PARAMETER_NAME_REGEXP.'+\])'; |
|
| 19 | + return '(\[i:' . BaseType::PARAMETER_NAME_REGEXP . '+\])'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function searchRegExp(): string |
| 18 | 18 | { |
| 19 | - return '(\[date:'.BaseType::PARAMETER_NAME_REGEXP.'\])'; |
|
| 19 | + return '(\[date:' . BaseType::PARAMETER_NAME_REGEXP . '\])'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $methodName[0] = strtolower($methodName[0]); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - for ($i = 1; $i < strlen($methodName); $i ++) { |
|
| 35 | + for ($i = 1; $i < strlen($methodName); $i++) { |
|
| 36 | 36 | if (ctype_upper($methodName[$i])) { |
| 37 | 37 | $methodName = substr_replace($methodName, '-' . strtolower($methodName[$i]), $i, 1); |
| 38 | 38 | } |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | { |
| 259 | 259 | $routerTrimmed = trim($router, '/'); |
| 260 | 260 | |
| 261 | - if (! isset($this->middleware[$routerTrimmed])) { |
|
| 261 | + if (!isset($this->middleware[$routerTrimmed])) { |
|
| 262 | 262 | $this->middleware[$routerTrimmed] = []; |
| 263 | 263 | } |
| 264 | 264 | |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | $this->parameters |
| 290 | 290 | ]; |
| 291 | 291 | |
| 292 | - if (! count($middleWares)) { |
|
| 292 | + if (!count($middleWares)) { |
|
| 293 | 293 | return $result; |
| 294 | 294 | } |
| 295 | 295 | |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | */ |
| 108 | 108 | public function callRoute($route) |
| 109 | 109 | { |
| 110 | - if (! $this->regExpsWereCompiled) { |
|
| 110 | + if (!$this->regExpsWereCompiled) { |
|
| 111 | 111 | $this->compileRegexpForBunches(); |
| 112 | 112 | } |
| 113 | 113 | |