@@ -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 | /** |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router; |
4 | 4 | |
5 | 5 | /** |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router; |
4 | 4 | |
5 | 5 | use Mezon\Router\Types\BaseType; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Mezon\Router; |
4 | 4 | |
5 | 5 | /** |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | */ |
69 | 69 | public function callRoute($route) |
70 | 70 | { |
71 | - if (! $this->regExpsWereCompiled) { |
|
71 | + if (!$this->regExpsWereCompiled) { |
|
72 | 72 | $this->compileRegexpForBunches(); |
73 | 73 | } |
74 | 74 |