@@ -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 | * |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * @param $processId |
|
| 63 | + * @param string $processId |
|
| 64 | 64 | */ |
| 65 | 65 | public function unsetQueueProcessId($processId) |
| 66 | 66 | { |
@@ -438,7 +438,7 @@ discard block |
||
| 438 | 438 | /** |
| 439 | 439 | * Determines if a page is queued |
| 440 | 440 | * |
| 441 | - * @param $uid |
|
| 441 | + * @param integer $uid |
|
| 442 | 442 | * @param bool $unprocessed_only |
| 443 | 443 | * @param bool $timed_only |
| 444 | 444 | * @param bool $timestamp |
@@ -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 | */ |
@@ -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 | { |
@@ -407,6 +407,10 @@ discard block |
||
| 407 | 407 | * @param array Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates |
| 408 | 408 | * @param array Array which will be filled with URLS for download if flag is set. |
| 409 | 409 | * @param array Array of processing instructions |
| 410 | + * @param integer $scheduledTime |
|
| 411 | + * @param integer $reqMinute |
|
| 412 | + * @param boolean $submitCrawlUrls |
|
| 413 | + * @param boolean $downloadCrawlUrls |
|
| 410 | 414 | * @return string List of URLs (meant for display in backend module) |
| 411 | 415 | * |
| 412 | 416 | */ |
@@ -701,7 +705,7 @@ discard block |
||
| 701 | 705 | } |
| 702 | 706 | |
| 703 | 707 | /** |
| 704 | - * @param $rootid |
|
| 708 | + * @param integer $rootid |
|
| 705 | 709 | * @param $depth |
| 706 | 710 | * @return array |
| 707 | 711 | * |
@@ -962,7 +966,7 @@ discard block |
||
| 962 | 966 | * The number of URLs will be the multiplication of the number of parameter values for each key |
| 963 | 967 | * |
| 964 | 968 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
| 965 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
| 969 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
| 966 | 970 | * @return array |
| 967 | 971 | */ |
| 968 | 972 | public function compileUrls($paramArray, $urls = []) |
@@ -1708,7 +1712,7 @@ discard block |
||
| 1708 | 1712 | * @param array $url |
| 1709 | 1713 | * @param string $crawlerId |
| 1710 | 1714 | * |
| 1711 | - * @return array |
|
| 1715 | + * @return string[] |
|
| 1712 | 1716 | */ |
| 1713 | 1717 | protected function buildRequestHeaderArray(array $url, $crawlerId) |
| 1714 | 1718 | { |
@@ -1981,6 +1985,7 @@ discard block |
||
| 1981 | 1985 | * |
| 1982 | 1986 | * @param array Page row |
| 1983 | 1987 | * @param string Page icon and title for row |
| 1988 | + * @param string $pageTitleAndIcon |
|
| 1984 | 1989 | * @return string HTML <tr> content (one or more) |
| 1985 | 1990 | */ |
| 1986 | 1991 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -2105,7 +2110,7 @@ discard block |
||
| 2105 | 2110 | * @param int $countInARun |
| 2106 | 2111 | * @param int $sleepTime |
| 2107 | 2112 | * @param int $sleepAfterFinish |
| 2108 | - * @return string |
|
| 2113 | + * @return integer |
|
| 2109 | 2114 | */ |
| 2110 | 2115 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
| 2111 | 2116 | { |
@@ -2407,6 +2412,7 @@ discard block |
||
| 2407 | 2412 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
| 2408 | 2413 | * |
| 2409 | 2414 | * @param string identification string for the process |
| 2415 | + * @param string $pid |
|
| 2410 | 2416 | * @return boolean determines if the process is still active / has resources |
| 2411 | 2417 | * |
| 2412 | 2418 | * TODO: Please consider moving this to Domain Model for Process or in ProcessRepository |
@@ -2448,7 +2454,7 @@ discard block |
||
| 2448 | 2454 | /** |
| 2449 | 2455 | * @param bool $get_as_float |
| 2450 | 2456 | * |
| 2451 | - * @return mixed |
|
| 2457 | + * @return string |
|
| 2452 | 2458 | */ |
| 2453 | 2459 | protected function microtime($get_as_float = false) |
| 2454 | 2460 | { |