@@ -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 | } |
@@ -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 | { |
@@ -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; |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @param int $triggered |
|
| 159 | + * @param integer $events |
|
| 160 | 160 | */ |
| 161 | 161 | public function setEvents($events) |
| 162 | 162 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | protected $adminRouteHelper; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return mixed |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function getTemplate() |
| 34 | 34 | { |
@@ -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 | { |