@@ -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 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | class DBAL extends AbstractDoctrineDBALAdminListConfigurator implements SortableInterface |
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | - * @return mixed |
|
| 24 | + * @return string |
|
| 25 | 25 | */ |
| 26 | 26 | public function getBundleName() |
| 27 | 27 | { |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @return mixed |
|
| 32 | + * @return string |
|
| 33 | 33 | */ |
| 34 | 34 | public function getEntityName() |
| 35 | 35 | { |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @return mixed |
|
| 40 | + * @return boolean |
|
| 41 | 41 | */ |
| 42 | 42 | public function buildFields() |
| 43 | 43 | { |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | class ORM extends AbstractDoctrineORMAdminListConfigurator implements SortableInterface |
| 27 | 27 | { |
| 28 | 28 | /** |
| 29 | - * @return mixed |
|
| 29 | + * @return string |
|
| 30 | 30 | */ |
| 31 | 31 | public function getBundleName() |
| 32 | 32 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @return mixed |
|
| 37 | + * @return string |
|
| 38 | 38 | */ |
| 39 | 39 | public function getEntityName() |
| 40 | 40 | { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @return mixed |
|
| 45 | + * @return boolean |
|
| 46 | 46 | */ |
| 47 | 47 | public function buildFields() |
| 48 | 48 | { |
@@ -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 | { |
@@ -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 | */ |
@@ -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 | /** |
@@ -12,6 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class ExceptionController extends AdminListController |
| 14 | 14 | { |
| 15 | + /** |
|
| 16 | + * @return \Kunstmaan\AdminListBundle\AdminList\Configurator\AbstractAdminListConfigurator |
|
| 17 | + */ |
|
| 15 | 18 | private function getAdminListConfigurator() |
| 16 | 19 | { |
| 17 | 20 | if (!isset($this->configurator)) { |