@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
84 | - * @param $param |
|
84 | + * @param string $param |
|
85 | 85 | * @param null $default |
86 | 86 | * @return mixed|null|string |
87 | 87 | */ |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @return PDO |
|
135 | + * @return \PDO |
|
136 | 136 | */ |
137 | 137 | public function getDbAdapter() |
138 | 138 | { |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | |
275 | 275 | /** |
276 | 276 | * @param ServerRequestInterface $request |
277 | - * @return Controller |
|
277 | + * @return AbstractController |
|
278 | 278 | */ |
279 | 279 | public function setRequest(ServerRequestInterface $request) |
280 | 280 | { |
@@ -48,7 +48,6 @@ |
||
48 | 48 | /** |
49 | 49 | * Ahoy! There nay be boardin without yer configuration |
50 | 50 | * |
51 | - * @param array $config |
|
52 | 51 | * @return Application |
53 | 52 | */ |
54 | 53 | public static function ahoy() |
@@ -162,7 +162,6 @@ discard block |
||
162 | 162 | /** |
163 | 163 | * Get a middleware that will decorate a NotFoundException |
164 | 164 | * |
165 | - * @param \League\Route\Http\Exception\NotFoundException $exception |
|
166 | 165 | * |
167 | 166 | * @return \Psr\Http\Server\MiddlewareInterface |
168 | 167 | */ |
@@ -174,7 +173,7 @@ discard block |
||
174 | 173 | /** |
175 | 174 | * Get a middleware that will decorate a NotAllowedException |
176 | 175 | * |
177 | - * @param \League\Route\Http\Exception\NotFoundException $e |
|
176 | + * @param \League\Route\Http\Exception\MethodNotAllowedException $e |
|
178 | 177 | * |
179 | 178 | * @return \Psr\Http\Server\MiddlewareInterface |
180 | 179 | */ |
@@ -23,7 +23,6 @@ |
||
23 | 23 | /** |
24 | 24 | * InternationalisationMiddleware constructor. |
25 | 25 | * @param $helper |
26 | - * @param string|null $defaultLocale |
|
27 | 26 | */ |
28 | 27 | public function __construct(Translator $translator, array $supportedLocales) |
29 | 28 | { |