Completed
Push — issue/274 ( d32e11...203e68 )
by Tomas Norre
17:06
created
Classes/Backend/BackendModule.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,6 @@
 block discarded – undo
44 44
 use TYPO3\CMS\Core\Utility\DebugUtility;
45 45
 use TYPO3\CMS\Core\Utility\GeneralUtility;
46 46
 use TYPO3\CMS\Core\Utility\MathUtility;
47
-use TYPO3\CMS\Extbase\Object\ObjectManager;
48
-use TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility;
49 47
 
50 48
 /**
51 49
  * Class BackendModule
Please login to merge, or discard this patch.
Classes/Controller/CrawlerController.php 1 patch
Doc Comments   +12 added lines, -5 removed lines patch added patch discarded remove patch
@@ -404,6 +404,10 @@  discard block
 block discarded – undo
404 404
      * @param    array        Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates
405 405
      * @param    array        Array which will be filled with URLS for download if flag is set.
406 406
      * @param    array        Array of processing instructions
407
+     * @param integer $scheduledTime
408
+     * @param integer $reqMinute
409
+     * @param boolean $submitCrawlUrls
410
+     * @param boolean $downloadCrawlUrls
407 411
      * @return    string        List of URLs (meant for display in backend module)
408 412
      *
409 413
      */
@@ -528,7 +532,7 @@  discard block
 block discarded – undo
528 532
      *
529 533
      * @param string $piString PI to test
530 534
      * @param array $incomingProcInstructions Processing instructions
531
-     * @return boolean
535
+     * @return boolean|null
532 536
      */
533 537
     public function drawURLs_PIfilter($piString, array $incomingProcInstructions)
534 538
     {
@@ -959,7 +963,7 @@  discard block
 block discarded – undo
959 963
      * The number of URLs will be the multiplication of the number of parameter values for each key
960 964
      *
961 965
      * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values
962
-     * @param array $urls URLs accumulated in this array (for recursion)
966
+     * @param string[] $urls URLs accumulated in this array (for recursion)
963 967
      * @return array
964 968
      */
965 969
     public function compileUrls($paramArray, $urls = [])
@@ -1613,6 +1617,7 @@  discard block
 block discarded – undo
1613 1617
 
1614 1618
     /**
1615 1619
      * @param message
1620
+     * @param string $message
1616 1621
      */
1617 1622
     protected function log($message)
1618 1623
     {
@@ -1630,7 +1635,7 @@  discard block
 block discarded – undo
1630 1635
      * @param array $url
1631 1636
      * @param string $crawlerId
1632 1637
      *
1633
-     * @return array
1638
+     * @return string[]
1634 1639
      */
1635 1640
     protected function buildRequestHeaderArray(array $url, $crawlerId)
1636 1641
     {
@@ -1890,6 +1895,7 @@  discard block
 block discarded – undo
1890 1895
      *
1891 1896
      * @param    array        Page row
1892 1897
      * @param    string        Page icon and title for row
1898
+     * @param string $pageTitleAndIcon
1893 1899
      * @return    string        HTML <tr> content (one or more)
1894 1900
      */
1895 1901
     public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon)
@@ -2178,7 +2184,7 @@  discard block
 block discarded – undo
2178 2184
     /**
2179 2185
      * Function executed by crawler_im.php cli script.
2180 2186
      *
2181
-     * @return bool
2187
+     * @return null|boolean
2182 2188
      */
2183 2189
     public function CLI_main_flush()
2184 2190
     {
@@ -2237,7 +2243,7 @@  discard block
 block discarded – undo
2237 2243
      * @param int $countInARun
2238 2244
      * @param int $sleepTime
2239 2245
      * @param int $sleepAfterFinish
2240
-     * @return string
2246
+     * @return integer
2241 2247
      */
2242 2248
     public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish)
2243 2249
     {
@@ -2515,6 +2521,7 @@  discard block
 block discarded – undo
2515 2521
      * Used to determine timeouts and to ensure a proper cleanup if there's a timeout
2516 2522
      *
2517 2523
      * @param  string  identification string for the process
2524
+     * @param string $pid
2518 2525
      * @return boolean determines if the process is still active / has resources
2519 2526
      *
2520 2527
      * FIXME: Please remove Transaction, not needed as only a select query.
Please login to merge, or discard this patch.