@@ -9,8 +9,14 @@ |
||
9 | 9 | */ |
10 | 10 | interface DataCollectionInterface |
11 | 11 | { |
12 | + /** |
|
13 | + * @return AbstractDataCollector |
|
14 | + */ |
|
12 | 15 | public function setTemplate($template); |
13 | 16 | |
17 | + /** |
|
18 | + * @return string |
|
19 | + */ |
|
14 | 20 | public function getTemplate(); |
15 | 21 | |
16 | 22 | public function getAccessRoles(); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return array |
|
24 | + * @return string[] |
|
25 | 25 | */ |
26 | 26 | public function getAccessRoles() |
27 | 27 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -5,8 +5,6 @@ |
||
5 | 5 | use Twig_Environment; |
6 | 6 | use Twig_Extension; |
7 | 7 | |
8 | -use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
|
9 | - |
|
10 | 8 | /** |
11 | 9 | * Extension to render blocks of twig templates |
12 | 10 | */ |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * Construct Exception. |
15 | 15 | * |
16 | 16 | * @param string $message Message |
17 | - * @param mixed $data |
|
17 | + * @param string $data |
|
18 | 18 | * @param int $code |
19 | 19 | * @param \Throwable $previous |
20 | 20 | */ |
@@ -16,7 +16,7 @@ |
||
16 | 16 | /** |
17 | 17 | * Returns a list of functions to add to the existing list. |
18 | 18 | * |
19 | - * @return array An array of functions |
|
19 | + * @return Twig_SimpleFunction[] An array of functions |
|
20 | 20 | */ |
21 | 21 | public function getFunctions() |
22 | 22 | { |
@@ -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; |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Kunstmaan\ArticleBundle\PagePartAdmin\AbstractArticlePagePagePartAdminConfigurator; |
8 | 8 | use Kunstmaan\NodeBundle\Entity\AbstractPage; |
9 | 9 | use Kunstmaan\PagePartBundle\Helper\HasPagePartsInterface; |
10 | -use Symfony\Component\Form\AbstractType; |
|
11 | 10 | |
12 | 11 | abstract class AbstractArticlePage extends AbstractPage implements HasPagePartsInterface |
13 | 12 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Set the summary of this article |
50 | - * @param $summary |
|
50 | + * @param string $summary |
|
51 | 51 | */ |
52 | 52 | public function setSummary($summary) |
53 | 53 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return array |
|
89 | + * @return AbstractArticlePagePagePartAdminConfigurator[] |
|
90 | 90 | */ |
91 | 91 | public function getPagePartAdminConfigurations() |
92 | 92 | { |