@@ -299,7 +299,7 @@ |
||
299 | 299 | /** |
300 | 300 | * Return entity mock |
301 | 301 | * |
302 | - * @return AbstractEntity |
|
302 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
303 | 303 | */ |
304 | 304 | public function getEntity() |
305 | 305 | { |
@@ -3,15 +3,12 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Tests\Helper\Security\Acl\Permission; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | - |
|
8 | 6 | use Kunstmaan\AdminBundle\Entity\User; |
9 | 7 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |
10 | 8 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
11 | 9 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\MaskBuilder; |
12 | 10 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMapInterface; |
13 | 11 | use Kunstmaan\UtilitiesBundle\Helper\Shell\Shell; |
14 | - |
|
15 | 12 | use Symfony\Component\HttpKernel\KernelInterface; |
16 | 13 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
17 | 14 | use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Returns a list of functions to add to the existing list. |
19 | 19 | * |
20 | - * @return array An array of functions |
|
20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
21 | 21 | */ |
22 | 22 | public function getFunctions() |
23 | 23 | { |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
4 | 4 | |
5 | 5 | use Twig_Environment; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
8 | - |
|
9 | 7 | use Symfony\Component\Form\FormView; |
10 | 8 | |
11 | 9 | /** |
@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Get Twig filters defined in this extension. |
14 | 14 | * |
15 | - * @return array |
|
15 | + * @return \Twig_SimpleFilter[] |
|
16 | 16 | */ |
17 | 17 | public function getFilters() |
18 | 18 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Get Twig functions defined in this extension. |
31 | 31 | * |
32 | - * @return array |
|
32 | + * @return \Twig_SimpleFunction[] |
|
33 | 33 | */ |
34 | 34 | public function getFunctions() |
35 | 35 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
4 | 4 | |
5 | 5 | use Kunstmaan\AdminBundle\Helper\FormHelper; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormView; |
8 | 7 | |
9 | 8 | /** |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | } |
247 | 247 | |
248 | 248 | /** |
249 | - * @return array |
|
249 | + * @return ItemAction\ItemActionInterface[] |
|
250 | 250 | */ |
251 | 251 | public function getItemActions() |
252 | 252 | { |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | } |
271 | 271 | |
272 | 272 | /** |
273 | - * @return array |
|
273 | + * @return ListAction\ListActionInterface[] |
|
274 | 274 | */ |
275 | 275 | public function getListActions() |
276 | 276 | { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |
281 | - * @return array |
|
281 | + * @return BulkAction\BulkActionInterface[] |
|
282 | 282 | */ |
283 | 283 | public function getBulkActions() |
284 | 284 | { |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace Kunstmaan\AdminListBundle\AdminList; |
4 | 4 | |
5 | 5 | use Kunstmaan\AdminListBundle\AdminList\Configurator\AdminListConfiguratorInterface; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpFoundation\Request; |
8 | - |
|
9 | 7 | use Pagerfanta\Pagerfanta; |
10 | 8 | |
11 | 9 | /** |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
48 | - * @param mixed $item |
|
48 | + * @param \stdClass $item |
|
49 | 49 | * |
50 | 50 | * @return string |
51 | 51 | */ |
@@ -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 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
25 | - * @return AbstractPagePartAdminConfigurator[] |
|
25 | + * @return AbstractArticleOverviewPagePagePartAdminConfigurator[] |
|
26 | 26 | */ |
27 | 27 | public function getPagePartAdminConfigurations() |
28 | 28 | { |
@@ -88,7 +88,7 @@ |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
91 | - * @return array |
|
91 | + * @return AbstractArticlePagePagePartAdminConfigurator[] |
|
92 | 92 | */ |
93 | 93 | public function getPagePartAdminConfigurations() |
94 | 94 | { |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @param $configHelper |
24 | 24 | * @param $queryHelper |
25 | - * @param $output |
|
26 | - * @param $em |
|
25 | + * @param OutputInterface $output |
|
26 | + * @param EntityManager $em |
|
27 | 27 | */ |
28 | 28 | public function __construct($configHelper, $queryHelper, $output, $em) |
29 | 29 | { |
@@ -75,6 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * Executes the query |
77 | 77 | * |
78 | + * @param string $metrics |
|
78 | 79 | * @return array the resultset |
79 | 80 | */ |
80 | 81 | protected function executeQuery(AnalyticsOverview $overview, $metrics) { |