@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * Returns the current time in milliseconds. |
188 | 188 | * |
189 | - * @return int |
|
189 | + * @return double |
|
190 | 190 | */ |
191 | 191 | protected function getMilliseconds() |
192 | 192 | { |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * |
233 | 233 | * Also does not report the time, see https://forge.typo3.org/issues/64551 |
234 | 234 | * |
235 | - * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
235 | + * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
236 | 236 | * @param boolean $useCache indicates if the ping result should be cached in the instance or not |
237 | 237 | * @return bool TRUE if Solr can be reached, FALSE if not |
238 | 238 | */ |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * Call the /admin/ping servlet, can be used to get the runtime of a ping request. |
247 | 247 | * |
248 | - * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
248 | + * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) |
|
249 | 249 | * @param boolean $useCache indicates if the ping result should be cached in the instance or not |
250 | 250 | * @return double runtime in milliseconds |
251 | 251 | * @throws \ApacheSolrForTypo3\Solr\PingFailedException |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | * |
483 | 483 | * @param string $url |
484 | 484 | * @param float|bool $timeout Read timeout in seconds |
485 | - * @return \Apache_Solr_Response |
|
485 | + * @return string |
|
486 | 486 | */ |
487 | 487 | protected function _sendRawGet($url, $timeout = false) |
488 | 488 | { |
@@ -656,7 +656,7 @@ discard block |
||
656 | 656 | * a complete and well formed "delete" xml document |
657 | 657 | * |
658 | 658 | * @param string $rawPost Expected to be utf-8 encoded xml document |
659 | - * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) |
|
659 | + * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) |
|
660 | 660 | * @return \Apache_Solr_Response |
661 | 661 | */ |
662 | 662 | public function delete($rawPost, $timeout = 3600) |
@@ -741,7 +741,7 @@ discard block |
||
741 | 741 | /** |
742 | 742 | * Add list of synonyms for base word to managed synonyms map |
743 | 743 | * |
744 | - * @param $baseWord |
|
744 | + * @param string $baseWord |
|
745 | 745 | * @param array $synonyms |
746 | 746 | * |
747 | 747 | * @return \Apache_Solr_Response |
@@ -759,7 +759,7 @@ discard block |
||
759 | 759 | /** |
760 | 760 | * Remove a synonym from the synonyms map |
761 | 761 | * |
762 | - * @param $baseWord |
|
762 | + * @param string $baseWord |
|
763 | 763 | * @return \Apache_Solr_Response |
764 | 764 | * @throws \Apache_Solr_InvalidArgumentException |
765 | 765 | */ |
@@ -776,7 +776,7 @@ discard block |
||
776 | 776 | /** |
777 | 777 | * Central method for making a HTTP DELETE operation against the Solr server |
778 | 778 | * |
779 | - * @param $url |
|
779 | + * @param string $url |
|
780 | 780 | * @param bool|float $timeout Read timeout in seconds |
781 | 781 | * @return \Apache_Solr_Response |
782 | 782 | */ |
@@ -54,7 +54,7 @@ |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @param array $arguments |
57 | - * @param callable|\Closure $renderChildrenClosure |
|
57 | + * @param \Closure $renderChildrenClosure |
|
58 | 58 | * @param RenderingContextInterface $renderingContext |
59 | 59 | * @return string |
60 | 60 | */ |