@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanAdminListExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanAdminListExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
27 | - * @return mixed |
|
27 | + * @return boolean |
|
28 | 28 | */ |
29 | 29 | public function buildFields() |
30 | 30 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @return Pagerfanta |
|
81 | + * @return string |
|
82 | 82 | */ |
83 | 83 | public function getPagerfanta() |
84 | 84 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return mixed |
|
89 | + * @return ArrayIterator |
|
90 | 90 | */ |
91 | 91 | public function getIterator() |
92 | 92 | { |
@@ -19,6 +19,11 @@ discard block |
||
19 | 19 | /** @var EntityRepository */ |
20 | 20 | private $repo; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $locale |
|
24 | + * @param string $permission |
|
25 | + * @param \PHPUnit_Framework_MockObject_MockObject $repo |
|
26 | + */ |
|
22 | 27 | public function __construct(EntityManager $em, AclHelper $aclHelper, $locale, $permission, $repo) |
23 | 28 | { |
24 | 29 | parent::__construct($em, $aclHelper, $locale, $permission); |
@@ -26,7 +31,7 @@ discard block |
||
26 | 31 | } |
27 | 32 | |
28 | 33 | /** |
29 | - * @return bool |
|
34 | + * @return EntityRepository |
|
30 | 35 | */ |
31 | 36 | public function getOverviewPageRepository() |
32 | 37 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanArticleExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanArticleExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanConfigExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanConfigExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Return the url to edit the given $item |
61 | 61 | * |
62 | - * @param object $item |
|
62 | + * @param \Kunstmaan\LeadGenerationBundle\Tests\unit\Entity\Popup\Popup $item |
|
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Get the delete url for the given $item |
79 | 79 | * |
80 | - * @param object $item |
|
80 | + * @param \Kunstmaan\LeadGenerationBundle\Tests\unit\Entity\Popup\Popup $item |
|
81 | 81 | * |
82 | 82 | * @return array |
83 | 83 | */ |
@@ -138,6 +138,9 @@ discard block |
||
138 | 138 | $object->onKernelResponse($event); |
139 | 139 | } |
140 | 140 | |
141 | + /** |
|
142 | + * @param \PHPUnit_Framework_MockObject_MockObject $flashBag |
|
143 | + */ |
|
141 | 144 | private function getHostOverrideListener($flashBag) |
142 | 145 | { |
143 | 146 | $session = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Session') |
@@ -172,6 +175,11 @@ discard block |
||
172 | 175 | return $listener; |
173 | 176 | } |
174 | 177 | |
178 | + /** |
|
179 | + * @param Request $request |
|
180 | + * |
|
181 | + * @return \Symfony\Component\HttpKernel\Event\FilterResponseEvent |
|
182 | + */ |
|
175 | 183 | private function getFilterResponseEvent($request, $response, $requestType = HttpKernelInterface::MASTER_REQUEST) |
176 | 184 | { |
177 | 185 | $event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent') |
@@ -381,6 +381,9 @@ discard block |
||
381 | 381 | return $request; |
382 | 382 | } |
383 | 383 | |
384 | + /** |
|
385 | + * @param string $uri |
|
386 | + */ |
|
384 | 387 | private function getRequestWithOverride($uri) |
385 | 388 | { |
386 | 389 | $session = new Session(new MockArraySessionStorage()); |
@@ -394,6 +397,9 @@ discard block |
||
394 | 397 | return $request; |
395 | 398 | } |
396 | 399 | |
400 | + /** |
|
401 | + * @param Request $request |
|
402 | + */ |
|
397 | 403 | private function getDomainConfiguration($request) |
398 | 404 | { |
399 | 405 | $hostMap = array( |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Symfony\Component\Console\Input\InputInterface; |
9 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 10 | use Symfony\Component\Console\Question\ChoiceQuestion; |
11 | -use Symfony\Component\Security\Acl\Domain\Acl; |
|
12 | 11 | use Symfony\Component\Security\Acl\Permission\PermissionMapInterface; |
13 | 12 | |
14 | 13 | /** |