@@ -53,7 +53,7 @@ |
||
| 53 | 53 | * @param string $uri |
| 54 | 54 | * @param TypoScriptFrontendController $frontend |
| 55 | 55 | * |
| 56 | - * @return array |
|
| 56 | + * @return string[] |
|
| 57 | 57 | * |
| 58 | 58 | * @throws \Exception |
| 59 | 59 | * |
@@ -297,7 +297,7 @@ |
||
| 297 | 297 | * scheduled but have note been crawled yet. |
| 298 | 298 | * |
| 299 | 299 | * @param int $uid uid of the page |
| 300 | - * @param bool $limit |
|
| 300 | + * @param integer $limit |
|
| 301 | 301 | * |
| 302 | 302 | * @return array array with the crawl-history of a page => 0 : scheduled time , 1 : executed_time, 2 : set_id |
| 303 | 303 | */ |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | use TYPO3\CMS\Core\Database\ConnectionPool; |
| 32 | 32 | use TYPO3\CMS\Core\Database\Query\QueryBuilder; |
| 33 | 33 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
| 34 | -use TYPO3\CMS\Core\Utility\MathUtility; |
|
| 35 | 34 | use TYPO3\CMS\Extbase\Object\ObjectManager; |
| 36 | 35 | use TYPO3\CMS\Frontend\Page\PageRepository; |
| 37 | 36 | |
@@ -830,9 +830,9 @@ discard block |
||
| 830 | 830 | } |
| 831 | 831 | |
| 832 | 832 | /** |
| 833 | - * @param $currentActiveProcesses |
|
| 834 | - * @param $maxActiveProcesses |
|
| 835 | - * @param $isCrawlerEnabled |
|
| 833 | + * @param integer $currentActiveProcesses |
|
| 834 | + * @param integer $maxActiveProcesses |
|
| 835 | + * @param boolean $isCrawlerEnabled |
|
| 836 | 836 | * @return string |
| 837 | 837 | * @throws \TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException |
| 838 | 838 | */ |
@@ -926,6 +926,7 @@ discard block |
||
| 926 | 926 | * |
| 927 | 927 | * @param string the message itself |
| 928 | 928 | * @param integer message level (-1 = success (default), 0 = info, 1 = notice, 2 = warning, 3 = error) |
| 929 | + * @param string $message |
|
| 929 | 930 | */ |
| 930 | 931 | protected function addMessage($message, $severity = FlashMessage::OK): void |
| 931 | 932 | { |
@@ -434,6 +434,10 @@ discard block |
||
| 434 | 434 | * @param array Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates |
| 435 | 435 | * @param array Array which will be filled with URLS for download if flag is set. |
| 436 | 436 | * @param array Array of processing instructions |
| 437 | + * @param integer $scheduledTime |
|
| 438 | + * @param integer $reqMinute |
|
| 439 | + * @param boolean $submitCrawlUrls |
|
| 440 | + * @param boolean $downloadCrawlUrls |
|
| 437 | 441 | * @return string List of URLs (meant for display in backend module) |
| 438 | 442 | * |
| 439 | 443 | */ |
@@ -553,7 +557,6 @@ discard block |
||
| 553 | 557 | * This methods returns an array of configurations. |
| 554 | 558 | * And no urls! |
| 555 | 559 | * |
| 556 | - * @param integer $id Page ID |
|
| 557 | 560 | * @return array |
| 558 | 561 | */ |
| 559 | 562 | public function getUrlsForPageId($pageId) |
@@ -880,7 +883,7 @@ discard block |
||
| 880 | 883 | * The number of URLs will be the multiplication of the number of parameter values for each key |
| 881 | 884 | * |
| 882 | 885 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
| 883 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
| 886 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
| 884 | 887 | * @return array |
| 885 | 888 | */ |
| 886 | 889 | public function compileUrls($paramArray, array $urls) |
@@ -1554,6 +1557,7 @@ discard block |
||
| 1554 | 1557 | * |
| 1555 | 1558 | * @param array Page row |
| 1556 | 1559 | * @param string Page icon and title for row |
| 1560 | + * @param string $pageTitleAndIcon |
|
| 1557 | 1561 | * @return string HTML <tr> content (one or more) |
| 1558 | 1562 | */ |
| 1559 | 1563 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -1675,7 +1679,7 @@ discard block |
||
| 1675 | 1679 | * @param int $countInARun |
| 1676 | 1680 | * @param int $sleepTime |
| 1677 | 1681 | * @param int $sleepAfterFinish |
| 1678 | - * @return string |
|
| 1682 | + * @return integer |
|
| 1679 | 1683 | */ |
| 1680 | 1684 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
| 1681 | 1685 | { |
@@ -1976,6 +1980,7 @@ discard block |
||
| 1976 | 1980 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
| 1977 | 1981 | * |
| 1978 | 1982 | * @param string identification string for the process |
| 1983 | + * @param string $pid |
|
| 1979 | 1984 | * @return boolean determines if the process is still active / has resources |
| 1980 | 1985 | * |
| 1981 | 1986 | * TODO: Please consider moving this to Domain Model for Process or in ProcessRepository |
@@ -2017,7 +2022,7 @@ discard block |
||
| 2017 | 2022 | /** |
| 2018 | 2023 | * @param bool $get_as_float |
| 2019 | 2024 | * |
| 2020 | - * @return mixed |
|
| 2025 | + * @return string |
|
| 2021 | 2026 | */ |
| 2022 | 2027 | protected function microtime($get_as_float = false) |
| 2023 | 2028 | { |
@@ -712,7 +712,7 @@ |
||
| 712 | 712 | * Generate the unix time stamp for next visit. |
| 713 | 713 | * |
| 714 | 714 | * @param array $cfgRec Index configuration record |
| 715 | - * @return int The next time stamp |
|
| 715 | + * @return double The next time stamp |
|
| 716 | 716 | */ |
| 717 | 717 | public function generateNextIndexingTime($cfgRec) |
| 718 | 718 | { |