@@ -449,6 +449,10 @@ discard block |
||
449 | 449 | * @param array Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates |
450 | 450 | * @param array Array which will be filled with URLS for download if flag is set. |
451 | 451 | * @param array Array of processing instructions |
452 | + * @param integer $scheduledTime |
|
453 | + * @param integer $reqMinute |
|
454 | + * @param boolean $submitCrawlUrls |
|
455 | + * @param boolean $downloadCrawlUrls |
|
452 | 456 | * @return string List of URLs (meant for display in backend module) |
453 | 457 | * |
454 | 458 | */ |
@@ -531,7 +535,7 @@ discard block |
||
531 | 535 | * |
532 | 536 | * @param string $piString PI to test |
533 | 537 | * @param array $incomingProcInstructions Processing instructions |
534 | - * @return boolean |
|
538 | + * @return boolean|null |
|
535 | 539 | */ |
536 | 540 | public function drawURLs_PIfilter($piString, array $incomingProcInstructions) |
537 | 541 | { |
@@ -753,7 +757,7 @@ discard block |
||
753 | 757 | } |
754 | 758 | |
755 | 759 | /** |
756 | - * @param $rootid |
|
760 | + * @param integer $rootid |
|
757 | 761 | * @param $depth |
758 | 762 | * @return array |
759 | 763 | * |
@@ -1016,7 +1020,7 @@ discard block |
||
1016 | 1020 | * The number of URLs will be the multiplication of the number of parameter values for each key |
1017 | 1021 | * |
1018 | 1022 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
1019 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
1023 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
1020 | 1024 | * @return array |
1021 | 1025 | */ |
1022 | 1026 | public function compileUrls($paramArray, $urls = []) |
@@ -1773,6 +1777,7 @@ discard block |
||
1773 | 1777 | |
1774 | 1778 | /** |
1775 | 1779 | * @param message |
1780 | + * @param string $message |
|
1776 | 1781 | */ |
1777 | 1782 | protected function log($message) |
1778 | 1783 | { |
@@ -1793,7 +1798,7 @@ discard block |
||
1793 | 1798 | * @param array $url |
1794 | 1799 | * @param string $crawlerId |
1795 | 1800 | * |
1796 | - * @return array |
|
1801 | + * @return string[] |
|
1797 | 1802 | */ |
1798 | 1803 | protected function buildRequestHeaderArray(array $url, $crawlerId) |
1799 | 1804 | { |
@@ -2071,6 +2076,7 @@ discard block |
||
2071 | 2076 | * |
2072 | 2077 | * @param array Page row |
2073 | 2078 | * @param string Page icon and title for row |
2079 | + * @param string $pageTitleAndIcon |
|
2074 | 2080 | * @return string HTML <tr> content (one or more) |
2075 | 2081 | */ |
2076 | 2082 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -2261,7 +2267,7 @@ discard block |
||
2261 | 2267 | * @param int $countInARun |
2262 | 2268 | * @param int $sleepTime |
2263 | 2269 | * @param int $sleepAfterFinish |
2264 | - * @return string |
|
2270 | + * @return integer |
|
2265 | 2271 | */ |
2266 | 2272 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
2267 | 2273 | { |
@@ -2564,6 +2570,7 @@ discard block |
||
2564 | 2570 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
2565 | 2571 | * |
2566 | 2572 | * @param string identification string for the process |
2573 | + * @param string $pid |
|
2567 | 2574 | * @return boolean determines if the process is still active / has resources |
2568 | 2575 | * |
2569 | 2576 | * TODO: Please consider moving this to Domain Model for Process or in ProcessRepository |
@@ -2725,7 +2732,7 @@ discard block |
||
2725 | 2732 | * Check whether the Crawling Protocol should be http or https |
2726 | 2733 | * |
2727 | 2734 | * @param $crawlerConfiguration |
2728 | - * @param $pageConfiguration |
|
2735 | + * @param boolean $pageConfiguration |
|
2729 | 2736 | * |
2730 | 2737 | * @return bool |
2731 | 2738 | */ |