@@ -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) |
@@ -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 | { |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | * |
541 | 541 | * @param string $configurationName |
542 | 542 | * @param string $defaultIfEmpty |
543 | - * @return mixed |
|
543 | + * @return string |
|
544 | 544 | */ |
545 | 545 | public function getIndexQueueInitializerClassByConfigurationName($configurationName, $defaultIfEmpty = 'ApacheSolrForTypo3\\Solr\\IndexQueue\\Initializer\\Record') |
546 | 546 | { |
@@ -1232,7 +1232,7 @@ discard block |
||
1232 | 1232 | * plugin.tx_solr.search.query.allowEmptyQuery |
1233 | 1233 | * |
1234 | 1234 | * @param string $defaultIfEmpty |
1235 | - * @return string |
|
1235 | + * @return boolean |
|
1236 | 1236 | */ |
1237 | 1237 | public function getSearchQueryAllowEmptyQuery($defaultIfEmpty = '') |
1238 | 1238 | { |
@@ -1294,7 +1294,7 @@ discard block |
||
1294 | 1294 | * |
1295 | 1295 | * plugin.tx_solr.search.query.returnFields |
1296 | 1296 | * |
1297 | - * @param array $defaultIfEmpty |
|
1297 | + * @param string[] $defaultIfEmpty |
|
1298 | 1298 | * @return array |
1299 | 1299 | */ |
1300 | 1300 | public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = array()) |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @param string $msg |
195 | 195 | * @param int $severity |
196 | - * @param mixed $dataVar |
|
196 | + * @param string[] $dataVar |
|
197 | 197 | */ |
198 | 198 | protected function writeDevLog($msg, $severity = 0, $dataVar = false) |
199 | 199 | { |
@@ -1004,7 +1004,7 @@ discard block |
||
1004 | 1004 | /** |
1005 | 1005 | * Sets the fields to return by a query. |
1006 | 1006 | * |
1007 | - * @param array|string $fieldList an array or comma-separated list of field names |
|
1007 | + * @param string $fieldList an array or comma-separated list of field names |
|
1008 | 1008 | * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
1009 | 1009 | */ |
1010 | 1010 | public function setFieldList($fieldList = array('*', 'score')) |
@@ -1080,7 +1080,7 @@ discard block |
||
1080 | 1080 | * |
1081 | 1081 | * This query supports the complete Lucene Query Language. |
1082 | 1082 | * |
1083 | - * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
1083 | + * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
1084 | 1084 | * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
1085 | 1085 | */ |
1086 | 1086 | public function setAlternativeQuery($alternativeQuery) |
@@ -311,7 +311,7 @@ |
||
311 | 311 | * Sets a request's parameter and its value. |
312 | 312 | * |
313 | 313 | * @param string $parameter Parameter name |
314 | - * @param mixed $value Parameter value. |
|
314 | + * @param string $value Parameter value. |
|
315 | 315 | */ |
316 | 316 | public function setParameter($parameter, $value) |
317 | 317 | { |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | * |
257 | 257 | * Also does not report the time, see https://forge.typo3.org/issues/64551 |
258 | 258 | * |
259 | - * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
259 | + * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
260 | 260 | * @param boolean $useCache indicates if the ping result should be cached in the instance or not |
261 | 261 | * @return bool TRUE if Solr can be reached, FALSE if not |
262 | 262 | */ |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | /** |
270 | 270 | * Call the /admin/ping servlet, can be used to get the runtime of a ping request. |
271 | 271 | * |
272 | - * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
272 | + * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
273 | 273 | * @param boolean $useCache indicates if the ping result should be cached in the instance or not |
274 | 274 | * @return double runtime in milliseconds |
275 | 275 | * @throws \ApacheSolrForTypo3\Solr\PingFailedException |
@@ -504,7 +504,7 @@ discard block |
||
504 | 504 | * |
505 | 505 | * @param string $url |
506 | 506 | * @param float|bool $timeout Read timeout in seconds |
507 | - * @return \Apache_Solr_Response |
|
507 | + * @return string |
|
508 | 508 | */ |
509 | 509 | protected function _sendRawGet($url, $timeout = false) |
510 | 510 | { |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | * a complete and well formed "delete" xml document |
677 | 677 | * |
678 | 678 | * @param string $rawPost Expected to be utf-8 encoded xml document |
679 | - * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) |
|
679 | + * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) |
|
680 | 680 | * @return \Apache_Solr_Response |
681 | 681 | */ |
682 | 682 | public function delete($rawPost, $timeout = 3600) |
@@ -1151,7 +1151,7 @@ |
||
1151 | 1151 | } |
1152 | 1152 | |
1153 | 1153 | /** |
1154 | - * @param $templateContent |
|
1154 | + * @param string $templateContent |
|
1155 | 1155 | * @return mixed |
1156 | 1156 | */ |
1157 | 1157 | public function setTemplateContent($templateContent) |