@@ -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 | { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @return EntityInterface |
|
| 138 | + * @return HasPagePartsInterface |
|
| 139 | 139 | */ |
| 140 | 140 | public function getPage() |
| 141 | 141 | { |
@@ -349,7 +349,7 @@ discard block |
||
| 349 | 349 | } |
| 350 | 350 | |
| 351 | 351 | /** |
| 352 | - * @return array |
|
| 352 | + * @return PagePartInterface[] |
|
| 353 | 353 | */ |
| 354 | 354 | public function getPagePartMap() |
| 355 | 355 | { |
@@ -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 | */ |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * @return array |
|
| 29 | + * @return \Twig_SimpleFunction[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getFunctions() |
| 32 | 32 | { |
@@ -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 | |
@@ -9,6 +9,7 @@ |
||
| 9 | 9 | * |
| 10 | 10 | * @param SearchProviderInterface $provider |
| 11 | 11 | * @param string $alias |
| 12 | + * @return void |
|
| 12 | 13 | */ |
| 13 | 14 | public function addProvider(SearchProviderInterface $provider, $alias); |
| 14 | 15 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Return the index object |
| 33 | 33 | * |
| 34 | - * @param $indexName |
|
| 34 | + * @param string $indexName |
|
| 35 | 35 | * |
| 36 | 36 | * @return mixed |
| 37 | 37 | */ |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * |
| 55 | 55 | * @param string $indexName Name of the index |
| 56 | 56 | * @param string $indexType Type of the index to add the document to |
| 57 | - * @param array $document The document to index |
|
| 57 | + * @param string $document The document to index |
|
| 58 | 58 | * @param string $uid Unique ID for this document, this will allow the document to be overwritten by new data |
| 59 | 59 | * instead of being duplicated |
| 60 | 60 | */ |