@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\ArticleBundle\Router; |
4 | 4 | |
5 | 5 | use Kunstmaan\NodeBundle\Router\SlugRouter; |
6 | -use Symfony\Component\Routing\Route; |
|
7 | 6 | use Symfony\Component\Routing\RouteCollection; |
8 | 7 | use Symfony\Component\Translation\TranslatorInterface; |
9 | 8 |
@@ -22,7 +22,6 @@ |
||
22 | 22 | protected $em; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param EngineInterface $templating |
|
26 | 25 | * @param EntityManagerInterface $em |
27 | 26 | */ |
28 | 27 | public function __construct(/* EngineInterface|EntityManagerInterface */ $em, EntityManagerInterface $emOld = null) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\NodeBundle\EventListener; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
8 | 7 | use Symfony\Component\HttpFoundation\Response; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
6 | 6 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
7 | 7 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
8 | -use Kunstmaan\NodeSearchBundle\Helper\ElasticSearchUtil; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * This is the class that validates and merges configuration from your app/config files |
@@ -39,7 +39,6 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param EntityManagerInterface|null $em |
42 | - * @param PdfTransformer|null $mediaManager |
|
43 | 42 | */ |
44 | 43 | public function __construct(/* EntityManagerInterface */ $em = null, /* PdfTransformer */ $pdfTransformer = null, $webRoot = null, $enablePdfPreview = null) |
45 | 44 | { |
@@ -49,8 +49,8 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @param $command |
|
53 | - * @param $error |
|
52 | + * @param \Symfony\Component\Console\Command\Command $command |
|
53 | + * @param \Throwable $error |
|
54 | 54 | */ |
55 | 55 | private function logCommandError($command, $error) |
56 | 56 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * https://gist.github.com/1331789 |
41 | 41 | * |
42 | - * @return \Doctrine\ORM\EntityManager |
|
42 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
43 | 43 | */ |
44 | 44 | protected function getMockedEntityManager() |
45 | 45 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * https://gist.github.com/1331789 |
41 | 41 | * |
42 | - * @return \Doctrine\ORM\EntityManager |
|
42 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
43 | 43 | */ |
44 | 44 | protected function getMockedEntityManager() |
45 | 45 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanFormExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanFormExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanDashboardExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanDashboardExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |