@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * @param mixed $item |
|
| 63 | + * @param \stdClass $item |
|
| 64 | 64 | * |
| 65 | 65 | * @return string |
| 66 | 66 | */ |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @param mixed $item |
|
| 73 | + * @param \stdClass $item |
|
| 74 | 74 | * |
| 75 | 75 | * @return string |
| 76 | 76 | */ |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | - * @param mixed $item |
|
| 117 | + * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item |
|
| 118 | 118 | * |
| 119 | 119 | * @return array |
| 120 | 120 | */ |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * Get the delete url for the given $item |
| 134 | 134 | * |
| 135 | - * @param object $item |
|
| 135 | + * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item |
|
| 136 | 136 | * |
| 137 | 137 | * @return array |
| 138 | 138 | */ |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\ArticleBundle\AdminList; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\EntityManager; |
|
| 6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
| 7 | 6 | use Doctrine\ORM\QueryBuilder; |
| 8 | 7 | use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper; |
@@ -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 | { |