@@ -17,7 +17,6 @@ |
||
17 | 17 | use InvalidArgumentException; |
18 | 18 | use Addiks\SymfonyGenerics\Arguments\Argument; |
19 | 19 | use Addiks\SymfonyGenerics\Arguments\LiteralArgument; |
20 | -use Addiks\SymfonyGenerics\Arguments\EntityArgument; |
|
21 | 20 | |
22 | 21 | final class ArgumentFactoryAggregateTest extends TestCase |
23 | 22 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Addiks\SymfonyGenerics\Arguments\ArgumentCall; |
15 | 15 | use Addiks\SymfonyGenerics\Arguments\Argument; |
16 | 16 | use InvalidArgumentException; |
17 | -use stdClass; |
|
18 | 17 | use Addiks\SymfonyGenerics\Services\ArgumentCompilerInterface; |
19 | 18 | use ReflectionMethod; |
20 | 19 |
@@ -12,8 +12,6 @@ |
||
12 | 12 | |
13 | 13 | namespace Addiks\SymfonyGenerics\Services; |
14 | 14 | |
15 | -use ReflectionMethod; |
|
16 | -use Symfony\Component\HttpFoundation\Request; |
|
17 | 15 | use ReflectionFunctionAbstract; |
18 | 16 | |
19 | 17 | interface ArgumentCompilerInterface |
@@ -22,7 +22,6 @@ |
||
22 | 22 | public function understandsArgumentString(string $argumentConfiguration): bool; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param array|string $argument |
|
26 | 25 | * |
27 | 26 | * @return mixed |
28 | 27 | */ |
@@ -60,7 +60,7 @@ |
||
60 | 60 | public function renderTemplate(string $templatePath, array $arguments = array()): Response; |
61 | 61 | |
62 | 62 | /** |
63 | - * @param object $subject |
|
63 | + * @param Request $subject |
|
64 | 64 | */ |
65 | 65 | public function denyAccessUnlessGranted(string $attribute, $subject): void; |
66 | 66 |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Symfony\Component\HttpFoundation\Response; |
17 | 17 | use Symfony\Component\HttpFoundation\RequestStack; |
18 | 18 | use Symfony\Component\HttpFoundation\Request; |
19 | -use Symfony\Contracts\EventDispatcher\Event; |
|
20 | 19 | |
21 | 20 | interface ControllerHelperInterface |
22 | 21 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Addiks\SymfonyGenerics\Arguments\Argument; |
18 | 18 | use Symfony\Component\HttpFoundation\Request; |
19 | 19 | use Webmozart\Assert\Assert; |
20 | -use ErrorException; |
|
21 | 20 | use ReflectionType; |
22 | 21 | use ReflectionNamedType; |
23 | 22 | use ReflectionFunctionAbstract; |