@@ -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 | * |
@@ -209,7 +209,7 @@ |
||
209 | 209 | /** |
210 | 210 | * Determines if a page is queued |
211 | 211 | * |
212 | - * @param $uid |
|
212 | + * @param integer $uid |
|
213 | 213 | * @param bool $unprocessed_only |
214 | 214 | * @param bool $timed_only |
215 | 215 | * @param bool $timestamp |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | /** |
358 | 358 | * Returns a tag for the refresh icon |
359 | 359 | * |
360 | - * @return string |
|
360 | + * @return ButtonUtility |
|
361 | 361 | */ |
362 | 362 | protected function getRefreshLink() |
363 | 363 | { |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | /** |
372 | 372 | * Returns a link for the panel to enable or disable the crawler |
373 | 373 | * |
374 | - * @return string |
|
374 | + * @return ButtonUtility |
|
375 | 375 | */ |
376 | 376 | protected function getEnableDisableLink() |
377 | 377 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * |
398 | 398 | * @param void |
399 | 399 | * |
400 | - * @return string a-tag |
|
400 | + * @return ButtonUtility|null a-tag |
|
401 | 401 | */ |
402 | 402 | protected function getModeLink() |
403 | 403 | { |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | * |
476 | 476 | * @param string $piString PI to test |
477 | 477 | * @param array $incomingProcInstructions Processing instructions |
478 | - * @return boolean |
|
478 | + * @return boolean|null |
|
479 | 479 | */ |
480 | 480 | public function drawURLs_PIfilter($piString, array $incomingProcInstructions) |
481 | 481 | { |
@@ -685,6 +685,9 @@ discard block |
||
685 | 685 | return $baseUrl; |
686 | 686 | } |
687 | 687 | |
688 | + /** |
|
689 | + * @param integer $rootid |
|
690 | + */ |
|
688 | 691 | public function getConfigurationsForBranch($rootid, $depth) |
689 | 692 | { |
690 | 693 | $configurationsForBranch = []; |
@@ -906,7 +909,7 @@ discard block |
||
906 | 909 | * The number of URLs will be the multiplication of the number of parameter values for each key |
907 | 910 | * |
908 | 911 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
909 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
912 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
910 | 913 | * @return array |
911 | 914 | */ |
912 | 915 | public function compileUrls($paramArray, $urls = []) |
@@ -1556,6 +1559,7 @@ discard block |
||
1556 | 1559 | |
1557 | 1560 | /** |
1558 | 1561 | * @param message |
1562 | + * @param string $message |
|
1559 | 1563 | */ |
1560 | 1564 | protected function log($message) |
1561 | 1565 | { |
@@ -1570,7 +1574,7 @@ discard block |
||
1570 | 1574 | * @param array $url |
1571 | 1575 | * @param string $crawlerId |
1572 | 1576 | * |
1573 | - * @return array |
|
1577 | + * @return string[] |
|
1574 | 1578 | */ |
1575 | 1579 | protected function buildRequestHeaderArray(array $url, $crawlerId) |
1576 | 1580 | { |
@@ -1826,6 +1830,7 @@ discard block |
||
1826 | 1830 | * |
1827 | 1831 | * @param array Page row |
1828 | 1832 | * @param string Page icon and title for row |
1833 | + * @param string $pageTitleAndIcon |
|
1829 | 1834 | * @return string HTML <tr> content (one or more) |
1830 | 1835 | */ |
1831 | 1836 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -2114,7 +2119,7 @@ discard block |
||
2114 | 2119 | /** |
2115 | 2120 | * Function executed by crawler_im.php cli script. |
2116 | 2121 | * |
2117 | - * @return bool |
|
2122 | + * @return null|boolean |
|
2118 | 2123 | */ |
2119 | 2124 | public function CLI_main_flush() |
2120 | 2125 | { |
@@ -2173,7 +2178,7 @@ discard block |
||
2173 | 2178 | * @param int $countInARun |
2174 | 2179 | * @param int $sleepTime |
2175 | 2180 | * @param int $sleepAfterFinish |
2176 | - * @return string |
|
2181 | + * @return integer |
|
2177 | 2182 | */ |
2178 | 2183 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
2179 | 2184 | { |
@@ -2448,6 +2453,7 @@ discard block |
||
2448 | 2453 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
2449 | 2454 | * |
2450 | 2455 | * @param string identification string for the process |
2456 | + * @param string $pid |
|
2451 | 2457 | * @return boolean determines if the process is still active / has resources |
2452 | 2458 | * |
2453 | 2459 | * FIXME: Please remove Transaction, not needed as only a select query. |
@@ -2488,7 +2494,7 @@ discard block |
||
2488 | 2494 | /** |
2489 | 2495 | * @param bool $get_as_float |
2490 | 2496 | * |
2491 | - * @return mixed |
|
2497 | + * @return string |
|
2492 | 2498 | */ |
2493 | 2499 | protected function microtime($get_as_float = false) |
2494 | 2500 | { |