@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | /** |
436 | 436 | * Add type to the index document |
437 | 437 | * |
438 | - * @param object $page |
|
438 | + * @param HasNodeInterface $page |
|
439 | 439 | * @param array $doc |
440 | 440 | * |
441 | 441 | * @return array |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | /** |
640 | 640 | * Removes all HTML markup & decode HTML entities |
641 | 641 | * |
642 | - * @param $text |
|
642 | + * @param string $text |
|
643 | 643 | * |
644 | 644 | * @return string |
645 | 645 | */ |
@@ -666,7 +666,7 @@ discard block |
||
666 | 666 | /** |
667 | 667 | * Fetch ACL permissions for the specified entity |
668 | 668 | * |
669 | - * @param object $object |
|
669 | + * @param Node $object |
|
670 | 670 | * |
671 | 671 | * @return array |
672 | 672 | */ |
@@ -701,7 +701,7 @@ discard block |
||
701 | 701 | /** |
702 | 702 | * @param $publicNodeVersion |
703 | 703 | * |
704 | - * @return mixed |
|
704 | + * @return HasNodeInterface |
|
705 | 705 | */ |
706 | 706 | private function getNodeRefPage(NodeVersion $publicNodeVersion) |
707 | 707 | { |
@@ -38,7 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * @return float |
|
41 | + * @return integer |
|
42 | 42 | */ |
43 | 43 | public function getBoost() |
44 | 44 | { |
@@ -8,21 +8,25 @@ |
||
8 | 8 | { |
9 | 9 | /** |
10 | 10 | * @param NodeEvent $event |
11 | + * @return void |
|
11 | 12 | */ |
12 | 13 | public function onPostPublish(NodeEvent $event); |
13 | 14 | |
14 | 15 | /** |
15 | 16 | * @param NodeEvent $event |
17 | + * @return void |
|
16 | 18 | */ |
17 | 19 | public function onPostPersist(NodeEvent $event); |
18 | 20 | |
19 | 21 | /** |
20 | 22 | * @param NodeEvent $event |
23 | + * @return void |
|
21 | 24 | */ |
22 | 25 | public function onPostDelete(NodeEvent $event); |
23 | 26 | |
24 | 27 | /** |
25 | 28 | * @param NodeEvent $event |
29 | + * @return void |
|
26 | 30 | */ |
27 | 31 | public function onPostUnPublish(NodeEvent $event); |
28 | 32 | } |
@@ -164,7 +164,7 @@ |
||
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |
167 | - * @param mixed $data |
|
167 | + * @param string $data |
|
168 | 168 | * |
169 | 169 | * @return SearcherInterface |
170 | 170 | */ |
@@ -72,7 +72,6 @@ discard block |
||
72 | 72 | public function getContentType(); |
73 | 73 | |
74 | 74 | /** |
75 | - * @param string $indexName |
|
76 | 75 | * |
77 | 76 | * @return SearcherInterface |
78 | 77 | */ |
@@ -97,6 +96,7 @@ discard block |
||
97 | 96 | |
98 | 97 | /** |
99 | 98 | * @param \Kunstmaan\SearchBundle\Search\Search $search |
99 | + * @return SearcherInterface |
|
100 | 100 | */ |
101 | 101 | public function setSearch($search); |
102 | 102 |
@@ -169,7 +169,7 @@ |
||
169 | 169 | /** |
170 | 170 | * Get pagePartId |
171 | 171 | * |
172 | - * @return integer |
|
172 | + * @return string |
|
173 | 173 | */ |
174 | 174 | public function getPagePartId() |
175 | 175 | { |
@@ -220,7 +220,7 @@ |
||
220 | 220 | /** |
221 | 221 | * @param string $name |
222 | 222 | * |
223 | - * @return PagePartAdmin |
|
223 | + * @return PagePartWidget|null |
|
224 | 224 | */ |
225 | 225 | public function getFormWidget($name) |
226 | 226 | { |
@@ -10,6 +10,9 @@ |
||
10 | 10 | interface HasPagePartsInterface |
11 | 11 | { |
12 | 12 | |
13 | + /** |
|
14 | + * @return integer |
|
15 | + */ |
|
13 | 16 | public function getId(); |
14 | 17 | |
15 | 18 | /** |
@@ -205,7 +205,7 @@ |
||
205 | 205 | * @param string $pagePartClassName The full class name of the pagepart you want to instantiate. |
206 | 206 | * @param array $setters An array of setternames and their values. array('setName' => 'Kim', 'isDeveloper' => true) |
207 | 207 | * |
208 | - * @return callable The function that will instantiate a pagepart. |
|
208 | + * @return \Closure The function that will instantiate a pagepart. |
|
209 | 209 | */ |
210 | 210 | public function getCreatorArgumentsForPagePartAndProperties($pagePartClassName, array $setters = null) |
211 | 211 | { |