@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Service; |
5 | 5 |
@@ -90,8 +90,8 @@ discard block |
||
90 | 90 | */ |
91 | 91 | public function getTemplatePathFromRequest(ServerRequestInterface $request): string |
92 | 92 | { |
93 | - $module = (string)$request->getAttribute('module'); |
|
94 | - $component = (string)$request->getAttribute('component'); |
|
93 | + $module = (string) $request->getAttribute('module'); |
|
94 | + $component = (string) $request->getAttribute('component'); |
|
95 | 95 | |
96 | 96 | $module = empty($module) ? '' : $module; |
97 | 97 | $component = empty($component) ? 'default' : $component; |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | if (!empty($module)) { |
107 | - return $module . DIRECTORY_SEPARATOR . $component; |
|
107 | + return $module.DIRECTORY_SEPARATOR.$component; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | return $component; |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | */ |
118 | 118 | public function getTemplateFromRequest(ServerRequestInterface $request): string |
119 | 119 | { |
120 | - $action = (string)$request->getAttribute('action'); |
|
120 | + $action = (string) $request->getAttribute('action'); |
|
121 | 121 | |
122 | 122 | if (empty($action)) { |
123 | 123 | return 'default'; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Service; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\View; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\View; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\View; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\View; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\View; |
5 | 5 |