@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | - * @param $file |
|
| 132 | + * @param string $file |
|
| 133 | 133 | * @return string |
| 134 | 134 | * @codeCoverageIgnore |
| 135 | 135 | */ |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | - * @param $file |
|
| 144 | + * @param string $file |
|
| 145 | 145 | * @return string |
| 146 | 146 | * @codeCoverageIgnore |
| 147 | 147 | */ |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param string $location The path as string |
| 22 | 22 | * @param integer $code The status code |
| 23 | - * @return mixed |
|
| 23 | + * @return boolean |
|
| 24 | 24 | * @throws InvalidArgumentException |
| 25 | 25 | */ |
| 26 | 26 | public function redirect(string $location, int $code = 301) |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * Response constructor. |
| 52 | - * @param mixed $content |
|
| 52 | + * @param string $content |
|
| 53 | 53 | */ |
| 54 | 54 | public function __construct($content = null) |
| 55 | 55 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * Get response body and set headers |
| 93 | 93 | * |
| 94 | - * @return mixed |
|
| 94 | + * @return string |
|
| 95 | 95 | */ |
| 96 | 96 | public function getContent() |
| 97 | 97 | { |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @param $request |
|
| 79 | + * @param Request $request |
|
| 80 | 80 | * @param $e |
| 81 | 81 | * @return Http\Response |
| 82 | 82 | * @codeCoverageIgnore |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | */ |
| 154 | 154 | public function setBody($body) |
| 155 | 155 | { |
| 156 | - $this->body = $body; |
|
| 156 | + $this->body = $body; |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |