@@ -56,6 +56,10 @@ discard block |
||
56 | 56 | return $command; |
57 | 57 | } |
58 | 58 | |
59 | + /** |
|
60 | + * @param string $start |
|
61 | + * @param string $end |
|
62 | + */ |
|
59 | 63 | private function execute(ReportCommand $command, $manufacturer = 'manufacturer', $start = null, $end = null) : CommandTester |
60 | 64 | { |
61 | 65 | $application = new Application(); |
@@ -83,7 +87,7 @@ discard block |
||
83 | 87 | } |
84 | 88 | |
85 | 89 | /** |
86 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerInterface |
|
90 | + * @return null|ContainerInterface |
|
87 | 91 | */ |
88 | 92 | private function getContainer() |
89 | 93 | { |
@@ -6,9 +6,9 @@ |
||
6 | 6 | use Loevgaard\DandomainConsignmentBundle\ConsignmentService\ConsignmentServiceCollection; |
7 | 7 | use Loevgaard\DandomainFoundation\Repository\ManufacturerRepository; |
8 | 8 | use PHPUnit\Framework\TestCase; |
9 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
10 | 9 | use Symfony\Component\Console\Application; |
11 | 10 | use Symfony\Component\Console\Tester\CommandTester; |
11 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
12 | 12 | |
13 | 13 | class ReportCommandTest extends TestCase |
14 | 14 | { |