@@ -134,7 +134,7 @@ |
||
134 | 134 | /** |
135 | 135 | * Gets the last searched keywords from the database |
136 | 136 | * |
137 | - * @param int|bool $limit |
|
137 | + * @param integer $limit |
|
138 | 138 | * @return array An array containing the last searches of the current user |
139 | 139 | */ |
140 | 140 | protected function getLastSearchesFromDatabase($limit = false) |
@@ -196,6 +196,7 @@ |
||
196 | 196 | * |
197 | 197 | * @param array $mergedRow |
198 | 198 | * @param array $statisticsRow |
199 | + * @param string $fieldName |
|
199 | 200 | * @return float|int |
200 | 201 | */ |
201 | 202 | protected function getAverageFromField(array &$mergedRow, array $statisticsRow, $fieldName) |
@@ -106,6 +106,7 @@ |
||
106 | 106 | |
107 | 107 | /** |
108 | 108 | * tbd |
109 | + * @param string $facetName |
|
109 | 110 | */ |
110 | 111 | protected function buildAddFacetUrl($facetName) |
111 | 112 | { |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | /** |
203 | 203 | * Generates the headers to be send with the request. |
204 | 204 | * |
205 | - * @return array Array of HTTP headers. |
|
205 | + * @return string[] Array of HTTP headers. |
|
206 | 206 | */ |
207 | 207 | public function getHeaders() |
208 | 208 | { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | * Sets a request's parameter and its value. |
323 | 323 | * |
324 | 324 | * @param string $parameter Parameter name |
325 | - * @param mixed $value Parameter value. |
|
325 | + * @param string $value Parameter value. |
|
326 | 326 | */ |
327 | 327 | public function setParameter($parameter, $value) |
328 | 328 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * Turns a JSON encoded result string back into its PHP representation. |
51 | 51 | * |
52 | - * @param string $jsonEncodedResults JSON encoded result string |
|
52 | + * @param string $jsonEncodedResponse JSON encoded result string |
|
53 | 53 | * @return array|bool An array of action => result pairs or FALSE if the response could not be decoded |
54 | 54 | */ |
55 | 55 | public static function getResultsFromJson($jsonEncodedResponse) |
@@ -861,7 +861,7 @@ |
||
861 | 861 | * Marks an item as failed and causes the indexer to skip the item in the |
862 | 862 | * next run. |
863 | 863 | * |
864 | - * @param int|Item $item Either the item's Index Queue |
|
864 | + * @param Item $item Either the item's Index Queue |
|
865 | 865 | * uid or the complete item |
866 | 866 | * @param string $errorMessage Error message |
867 | 867 | */ |
@@ -436,7 +436,7 @@ |
||
436 | 436 | * This method executes the requested commands and applies the changes to |
437 | 437 | * the template. |
438 | 438 | * |
439 | - * @param $actionResult |
|
439 | + * @param string $actionResult |
|
440 | 440 | * @return string Rendered plugin content |
441 | 441 | */ |
442 | 442 | abstract protected function render($actionResult); |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * Constructs label markers. |
79 | 79 | * |
80 | - * @return array Array of label markers. |
|
80 | + * @return string Array of label markers. |
|
81 | 81 | */ |
82 | 82 | protected function getLabelMarkers() |
83 | 83 | { |
@@ -29,7 +29,6 @@ |
||
29 | 29 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequest; |
30 | 30 | use ApacheSolrForTypo3\Solr\Plugin\CommandPluginBase; |
31 | 31 | use ApacheSolrForTypo3\Solr\Plugin\PluginCommand; |
32 | -use ApacheSolrForTypo3\Solr\Query; |
|
33 | 32 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
34 | 33 | use ApacheSolrForTypo3\Solr\Template; |
35 | 34 | use TYPO3\CMS\Core\Utility\GeneralUtility; |