@@ -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 | */ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | public function addNGramTokenizer(); |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @param string $language |
|
| 51 | + * @return AnalysisFactoryInterface |
|
| 52 | 52 | */ |
| 53 | 53 | public function setupLanguage($lang = 'english'); |
| 54 | 54 | } |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Returns the Configuration to test |
| 34 | 34 | * |
| 35 | - * @return Configuration |
|
| 35 | + * @return KunstmaanSearchExtension |
|
| 36 | 36 | */ |
| 37 | 37 | protected function getExtension() |
| 38 | 38 | { |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | /** |
| 186 | 186 | * @param string $title |
| 187 | 187 | * |
| 188 | - * @return string |
|
| 188 | + * @return Seo |
|
| 189 | 189 | */ |
| 190 | 190 | public function setMetaTitle($title) |
| 191 | 191 | { |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | /** |
| 290 | - * @return mixed |
|
| 290 | + * @return string |
|
| 291 | 291 | */ |
| 292 | 292 | public function getOgDescription() |
| 293 | 293 | { |
@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | } |
| 308 | 308 | |
| 309 | 309 | /** |
| 310 | - * @return mixed |
|
| 310 | + * @return Media |
|
| 311 | 311 | */ |
| 312 | 312 | public function getOgImage() |
| 313 | 313 | { |
@@ -327,7 +327,7 @@ discard block |
||
| 327 | 327 | } |
| 328 | 328 | |
| 329 | 329 | /** |
| 330 | - * @return mixed |
|
| 330 | + * @return string |
|
| 331 | 331 | */ |
| 332 | 332 | public function getOgTitle() |
| 333 | 333 | { |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | /** |
| 350 | - * @return mixed |
|
| 350 | + * @return string |
|
| 351 | 351 | */ |
| 352 | 352 | public function getOgType() |
| 353 | 353 | { |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | /** |
| 111 | 111 | * Get createdAt |
| 112 | 112 | * |
| 113 | - * @return datetime |
|
| 113 | + * @return \DateTime |
|
| 114 | 114 | */ |
| 115 | 115 | public function getCreatedAt() |
| 116 | 116 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | /** |
| 141 | 141 | * Get createdAt |
| 142 | 142 | * |
| 143 | - * @return datetime |
|
| 143 | + * @return \DateTime |
|
| 144 | 144 | */ |
| 145 | 145 | public function getCreatedAt() |
| 146 | 146 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | /** |
| 161 | 161 | * Get updatedAt |
| 162 | 162 | * |
| 163 | - * @return datetime |
|
| 163 | + * @return \DateTime |
|
| 164 | 164 | */ |
| 165 | 165 | public function getUpdatedAt() |
| 166 | 166 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @param mixed $value The value in the transformed representation |
| 82 | 82 | * |
| 83 | - * @return mixed The value in the original representation |
|
| 83 | + * @return ArrayCollection The value in the original representation |
|
| 84 | 84 | * |
| 85 | 85 | * @throws UnexpectedTypeException when the argument is not of the expected type |
| 86 | 86 | * @throws TransformationFailedException when the transformation fails |
@@ -58,6 +58,9 @@ |
||
| 58 | 58 | return $this->extension; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $extension |
|
| 63 | + */ |
|
| 61 | 64 | public function setExtension($extension) |
| 62 | 65 | { |
| 63 | 66 | $this->extension = $extension; |