@@ -127,6 +127,7 @@ |
||
| 127 | 127 | * QueryBuilder to fetch immediate child NodeTranslations for a specific |
| 128 | 128 | * node and (optional) language that are currently published |
| 129 | 129 | * |
| 130 | + * @param string $lang |
|
| 130 | 131 | * @return \Doctrine\ORM\QueryBuilder |
| 131 | 132 | */ |
| 132 | 133 | public function getOnlineChildrenQueryBuilder(Node $parent, $lang = null) |
@@ -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 | |
@@ -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 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @return array |
|
| 52 | + * @return row[] |
|
| 53 | 53 | */ |
| 54 | 54 | public function getRows() |
| 55 | 55 | { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param string $name |
| 37 | - * @param number $span |
|
| 37 | + * @param integer $span |
|
| 38 | 38 | * @param string $template |
| 39 | 39 | * @param array $children |
| 40 | 40 | */ |
@@ -9,16 +9,19 @@ |
||
| 9 | 9 | { |
| 10 | 10 | /** |
| 11 | 11 | * Create indexes |
| 12 | + * @return void |
|
| 12 | 13 | */ |
| 13 | 14 | public function createIndex(); |
| 14 | 15 | |
| 15 | 16 | /** |
| 16 | 17 | * Populate the indexes |
| 18 | + * @return void |
|
| 17 | 19 | */ |
| 18 | 20 | public function populateIndex(); |
| 19 | 21 | |
| 20 | 22 | /** |
| 21 | 23 | * Delete indexes |
| 24 | + * @return void |
|
| 22 | 25 | */ |
| 23 | 26 | public function deleteIndex(); |
| 24 | 27 | |