| @@ -197,7 +197,7 @@ discard block | ||
| 197 | 197 | /** | 
| 198 | 198 | * @param Controller $controller | 
| 199 | 199 | * @param $actions | 
| 200 | - * @param $type | |
| 200 | + * @param string $type | |
| 201 | 201 | * @throws \InvalidArgumentException | 
| 202 | 202 | */ | 
| 203 | 203 | protected function addActions(Controller $controller, $actions, $type) | 
| @@ -279,7 +279,7 @@ discard block | ||
| 279 | 279 | * Adds a before/after middleware by its configuration | 
| 280 | 280 | * | 
| 281 | 281 | * @param Controller $controller | 
| 282 | - * @param $type | |
| 282 | + * @param string $type | |
| 283 | 283 | * @param $value | 
| 284 | 284 | */ | 
| 285 | 285 | protected function addMiddlewareFromConfig(Controller $controller, $type, $value) | 
| @@ -2,13 +2,12 @@ | ||
| 2 | 2 | namespace MJanssen\Provider; | 
| 3 | 3 | |
| 4 | 4 | use InvalidArgumentException; | 
| 5 | -use Silex\Application; | |
| 6 | -use Silex\Controller; | |
| 7 | -use Silex\Route; | |
| 8 | -use Pimple\ServiceProviderInterface; | |
| 9 | 5 | use Pimple\Container; | 
| 6 | +use Pimple\ServiceProviderInterface; | |
| 10 | 7 | use Silex\Api\BootableProviderInterface; | 
| 11 | 8 | use Silex\Api\EventListenerProviderInterface; | 
| 9 | +use Silex\Application; | |
| 10 | +use Silex\Controller; | |
| 12 | 11 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; | 
| 13 | 12 | |
| 14 | 13 | /** |