@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Renderer\Exception; |
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\Renderer; |
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\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 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Renderer; |
5 | 5 | |
@@ -42,10 +42,10 @@ discard block |
||
42 | 42 | $path = $view->getTemplatePath(); |
43 | 43 | $path = Utility::sanitizePath($path); |
44 | 44 | |
45 | - $template = $this->templateRoot . DIRECTORY_SEPARATOR . $path . $view->getTemplate() . '.php'; |
|
45 | + $template = $this->templateRoot.DIRECTORY_SEPARATOR.$path.$view->getTemplate().'.php'; |
|
46 | 46 | |
47 | 47 | if (!is_file($template)) { |
48 | - throw new MissingTemplateException('Template file missing: ' . $template); |
|
48 | + throw new MissingTemplateException('Template file missing: '.$template); |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | return $template; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Renderer; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Renderer; |
5 | 5 | |
@@ -103,10 +103,10 @@ discard block |
||
103 | 103 | $path = $view->getTemplatePath(); |
104 | 104 | $path = $this->sanitizePath($path); |
105 | 105 | |
106 | - $template = $this->templateRoot . DIRECTORY_SEPARATOR . $path . $view->getTemplate() . '.' . $this->extension; |
|
106 | + $template = $this->templateRoot.DIRECTORY_SEPARATOR.$path.$view->getTemplate().'.'.$this->extension; |
|
107 | 107 | |
108 | 108 | if (!is_file($template)) { |
109 | - throw new MissingTemplateException('Template file missing: ' . $template); |
|
109 | + throw new MissingTemplateException('Template file missing: '.$template); |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | return $template; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Phauthentic\Presentation\Renderer\Exception; |
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\Renderer\Exception; |
5 | 5 |