@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * @param null | Application $application |
97 | 97 | * @param Application $application |
98 | 98 | * |
99 | - * @return mixed|string |
|
99 | + * @return string|null |
|
100 | 100 | * @throws \Exception |
101 | 101 | */ |
102 | 102 | public function renderTemplate($template = '', $obClean = true, $application = null) |
@@ -141,8 +141,9 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param $template |
|
144 | + * @param string $template |
|
145 | 145 | * @param null | Application $application |
146 | + * @param Application $application |
|
146 | 147 | * @return string |
147 | 148 | */ |
148 | 149 | protected function getTemplateDir($template, $application = null) |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public function redirectMatching(Request $request) |
37 | 37 | { |
38 | - $redirects =$this->storage->getRedirects()->getRedirects(); |
|
38 | + $redirects = $this->storage->getRedirects()->getRedirects(); |
|
39 | 39 | $relativeUri = '/' . $request::$relativeUri; |
40 | 40 | |
41 | 41 | foreach ($redirects as $redirect) { |