@@ -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 | { |