Completed
Push — master ( 7118c3...4e23db )
by Tomas Norre
06:51
created
Classes/Hooks/StaticFileCacheCreateUriHook.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
Classes/Backend/View/ProcessListView.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Classes/Task/CrawlerQueueTaskAdditionalFieldProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     /**
118 118
      * Mark current value as selected by returning the "selected" attribute
119 119
      *
120
-     * @param array $configurationArray
120
+     * @param string $configurationArray
121 121
      * @param string $currentValue
122 122
      *
123 123
      * @return string
Please login to merge, or discard this patch.
Classes/Controller/CrawlerController.php 2 patches
Doc Comments   +17 added lines, -7 removed lines patch added patch discarded remove patch
@@ -396,6 +396,10 @@  discard block
 block discarded – undo
396 396
      * @param    array        Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates
397 397
      * @param    array        Array which will be filled with URLS for download if flag is set.
398 398
      * @param    array        Array of processing instructions
399
+     * @param integer $scheduledTime
400
+     * @param integer $reqMinute
401
+     * @param boolean $submitCrawlUrls
402
+     * @param boolean $downloadCrawlUrls
399 403
      * @return    string        List of URLs (meant for display in backend module)
400 404
      *
401 405
      */
@@ -520,7 +524,7 @@  discard block
 block discarded – undo
520 524
      *
521 525
      * @param string $piString PI to test
522 526
      * @param array $incomingProcInstructions Processing instructions
523
-     * @return boolean
527
+     * @return boolean|null
524 528
      */
525 529
     public function drawURLs_PIfilter($piString, array $incomingProcInstructions)
526 530
     {
@@ -732,6 +736,9 @@  discard block
 block discarded – undo
732 736
         return $baseUrl;
733 737
     }
734 738
 
739
+    /**
740
+     * @param integer $rootid
741
+     */
735 742
     public function getConfigurationsForBranch($rootid, $depth)
736 743
     {
737 744
         $configurationsForBranch = [];
@@ -953,7 +960,7 @@  discard block
 block discarded – undo
953 960
      * The number of URLs will be the multiplication of the number of parameter values for each key
954 961
      *
955 962
      * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values
956
-     * @param array $urls URLs accumulated in this array (for recursion)
963
+     * @param string[] $urls URLs accumulated in this array (for recursion)
957 964
      * @return array
958 965
      */
959 966
     public function compileUrls($paramArray, $urls = [])
@@ -1606,6 +1613,7 @@  discard block
 block discarded – undo
1606 1613
 
1607 1614
     /**
1608 1615
      * @param message
1616
+     * @param string $message
1609 1617
      */
1610 1618
     protected function log($message)
1611 1619
     {
@@ -1623,7 +1631,7 @@  discard block
 block discarded – undo
1623 1631
      * @param array $url
1624 1632
      * @param string $crawlerId
1625 1633
      *
1626
-     * @return array
1634
+     * @return string[]
1627 1635
      */
1628 1636
     protected function buildRequestHeaderArray(array $url, $crawlerId)
1629 1637
     {
@@ -1883,6 +1891,7 @@  discard block
 block discarded – undo
1883 1891
      *
1884 1892
      * @param    array        Page row
1885 1893
      * @param    string        Page icon and title for row
1894
+     * @param string $pageTitleAndIcon
1886 1895
      * @return    string        HTML <tr> content (one or more)
1887 1896
      */
1888 1897
     public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon)
@@ -2171,7 +2180,7 @@  discard block
 block discarded – undo
2171 2180
     /**
2172 2181
      * Function executed by crawler_im.php cli script.
2173 2182
      *
2174
-     * @return bool
2183
+     * @return null|boolean
2175 2184
      */
2176 2185
     public function CLI_main_flush()
2177 2186
     {
@@ -2230,7 +2239,7 @@  discard block
 block discarded – undo
2230 2239
      * @param int $countInARun
2231 2240
      * @param int $sleepTime
2232 2241
      * @param int $sleepAfterFinish
2233
-     * @return string
2242
+     * @return integer
2234 2243
      */
2235 2244
     public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish)
2236 2245
     {
@@ -2508,6 +2517,7 @@  discard block
 block discarded – undo
2508 2517
      * Used to determine timeouts and to ensure a proper cleanup if there's a timeout
2509 2518
      *
2510 2519
      * @param  string  identification string for the process
2520
+     * @param string $pid
2511 2521
      * @return boolean determines if the process is still active / has resources
2512 2522
      *
2513 2523
      * FIXME: Please remove Transaction, not needed as only a select query.
@@ -2548,7 +2558,7 @@  discard block
 block discarded – undo
2548 2558
     /**
2549 2559
      * @param bool $get_as_float
2550 2560
      *
2551
-     * @return mixed
2561
+     * @return string
2552 2562
      */
2553 2563
     protected function microtime($get_as_float = false)
2554 2564
     {
@@ -2669,7 +2679,7 @@  discard block
 block discarded – undo
2669 2679
      * Check whether the Crawling Protocol should be http or https
2670 2680
      *
2671 2681
      * @param $crawlerConfiguration
2672
-     * @param $pageConfiguration
2682
+     * @param boolean $pageConfiguration
2673 2683
      *
2674 2684
      * @return bool
2675 2685
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 use TYPO3\CMS\Core\Database\DatabaseConnection;
40 40
 use TYPO3\CMS\Core\Log\LogLevel;
41 41
 use TYPO3\CMS\Core\TimeTracker\NullTimeTracker;
42
-use TYPO3\CMS\Core\TimeTracker\TimeTracker;
43 42
 use TYPO3\CMS\Core\Utility\DebugUtility;
44 43
 use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
45 44
 use TYPO3\CMS\Core\Utility\GeneralUtility;
Please login to merge, or discard this patch.