Completed
Pull Request — typo3v9 (#451)
by Benni
13:56
created
Classes/Controller/CrawlerController.php 2 patches
Doc Comments   +9 added lines, -4 removed lines patch added patch discarded remove patch
@@ -414,6 +414,10 @@  discard block
 block discarded – undo
414 414
      * @param    array        Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates
415 415
      * @param    array        Array which will be filled with URLS for download if flag is set.
416 416
      * @param    array        Array of processing instructions
417
+     * @param integer $scheduledTime
418
+     * @param integer $reqMinute
419
+     * @param boolean $submitCrawlUrls
420
+     * @param boolean $downloadCrawlUrls
417 421
      * @return    string        List of URLs (meant for display in backend module)
418 422
      *
419 423
      */
@@ -538,7 +542,6 @@  discard block
 block discarded – undo
538 542
      * This methods returns an array of configurations.
539 543
      * And no urls!
540 544
      *
541
-     * @param integer $id Page ID
542 545
      * @return array
543 546
      */
544 547
     public function getUrlsForPageId($pageId)
@@ -907,7 +910,7 @@  discard block
 block discarded – undo
907 910
      * The number of URLs will be the multiplication of the number of parameter values for each key
908 911
      *
909 912
      * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values
910
-     * @param array $urls URLs accumulated in this array (for recursion)
913
+     * @param string[] $urls URLs accumulated in this array (for recursion)
911 914
      * @return array
912 915
      */
913 916
     public function compileUrls($paramArray, array $urls)
@@ -1650,7 +1653,7 @@  discard block
 block discarded – undo
1650 1653
      * @param array $url
1651 1654
      * @param string $crawlerId
1652 1655
      *
1653
-     * @return array
1656
+     * @return string[]
1654 1657
      */
1655 1658
     protected function buildRequestHeaderArray(array $url, $crawlerId)
1656 1659
     {
@@ -1923,6 +1926,7 @@  discard block
 block discarded – undo
1923 1926
      *
1924 1927
      * @param    array        Page row
1925 1928
      * @param    string        Page icon and title for row
1929
+     * @param string $pageTitleAndIcon
1926 1930
      * @return    string        HTML <tr> content (one or more)
1927 1931
      */
1928 1932
     public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon)
@@ -2047,7 +2051,7 @@  discard block
 block discarded – undo
2047 2051
      * @param int $countInARun
2048 2052
      * @param int $sleepTime
2049 2053
      * @param int $sleepAfterFinish
2050
-     * @return string
2054
+     * @return integer
2051 2055
      */
2052 2056
     public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish)
2053 2057
     {
@@ -2349,6 +2353,7 @@  discard block
 block discarded – undo
2349 2353
      * Used to determine timeouts and to ensure a proper cleanup if there's a timeout
2350 2354
      *
2351 2355
      * @param  string  identification string for the process
2356
+     * @param string $pid
2352 2357
      * @return boolean determines if the process is still active / has resources
2353 2358
      *
2354 2359
      * TODO: Please consider moving this to Domain Model for Process or in ProcessRepository
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,7 @@
 block discarded – undo
40 40
 use TYPO3\CMS\Core\Database\Connection;
41 41
 use TYPO3\CMS\Core\Database\ConnectionPool;
42 42
 use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
43
-use TYPO3\CMS\Core\Database\Query\Restriction\EndTimeRestriction;
44 43
 use TYPO3\CMS\Core\Database\Query\Restriction\HiddenRestriction;
45
-use TYPO3\CMS\Core\Database\Query\Restriction\StartTimeRestriction;
46 44
 use TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser;
47 45
 use TYPO3\CMS\Core\Utility\DebugUtility;
48 46
 use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
Please login to merge, or discard this patch.