@@ -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) |