@@ -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 |
@@ -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 | } |
@@ -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 | { |