Completed
Pull Request — typo3v9 (#495)
by Tomáš
19:19 queued 01:56
created
Classes/Controller/CrawlerController.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -435,6 +435,10 @@  discard block
 block discarded – undo
435 435
      * @param    array        Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates
436 436
      * @param    array        Array which will be filled with URLS for download if flag is set.
437 437
      * @param    array        Array of processing instructions
438
+     * @param integer $scheduledTime
439
+     * @param integer $reqMinute
440
+     * @param boolean $submitCrawlUrls
441
+     * @param boolean $downloadCrawlUrls
438 442
      * @return    string        List of URLs (meant for display in backend module)
439 443
      *
440 444
      */
@@ -554,7 +558,6 @@  discard block
 block discarded – undo
554 558
      * This methods returns an array of configurations.
555 559
      * And no urls!
556 560
      *
557
-     * @param integer $id Page ID
558 561
      * @return array
559 562
      */
560 563
     public function getUrlsForPageId($pageId)
@@ -881,7 +884,7 @@  discard block
 block discarded – undo
881 884
      * The number of URLs will be the multiplication of the number of parameter values for each key
882 885
      *
883 886
      * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values
884
-     * @param array $urls URLs accumulated in this array (for recursion)
887
+     * @param string[] $urls URLs accumulated in this array (for recursion)
885 888
      * @return array
886 889
      */
887 890
     public function compileUrls($paramArray, array $urls)
@@ -1555,6 +1558,7 @@  discard block
 block discarded – undo
1555 1558
      *
1556 1559
      * @param    array        Page row
1557 1560
      * @param    string        Page icon and title for row
1561
+     * @param string $pageTitleAndIcon
1558 1562
      * @return    string        HTML <tr> content (one or more)
1559 1563
      */
1560 1564
     public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon)
@@ -1676,7 +1680,7 @@  discard block
 block discarded – undo
1676 1680
      * @param int $countInARun
1677 1681
      * @param int $sleepTime
1678 1682
      * @param int $sleepAfterFinish
1679
-     * @return string
1683
+     * @return integer
1680 1684
      */
1681 1685
     public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish)
1682 1686
     {
Please login to merge, or discard this patch.
Classes/Hooks/IndexedSearchCrawlerFilesHook.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
      * Call back function for execution of a log element
27 27
      *
28 28
      * @param array $params Params from log element.
29
-     * @param object $pObj Parent object (tx_crawler lib)
30 29
      * @return array|null Result array
31 30
      */
32 31
     public function crawler_execute($params)
Please login to merge, or discard this patch.
Classes/Hooks/IndexedSearchCrawlerHook.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -712,7 +712,7 @@  discard block
 block discarded – undo
712 712
      * Generate the unix time stamp for next visit.
713 713
      *
714 714
      * @param array $cfgRec Index configuration record
715
-     * @return int The next time stamp
715
+     * @return double The next time stamp
716 716
      */
717 717
     public function generateNextIndexingTime($cfgRec)
718 718
     {
@@ -832,8 +832,6 @@  discard block
 block discarded – undo
832 832
      * @param string $command DataHandler command
833 833
      * @param string $table Table name
834 834
      * @param string $id Record ID. If new record its a string pointing to index inside \TYPO3\CMS\Core\DataHandling\DataHandler::substNEWwithIDs
835
-     * @param mixed $value Target value (ignored)
836
-     * @param DataHandler $pObj DataHandler calling object
837 835
      */
838 836
     public function processCmdmap_preProcess($command, $table, $id)
839 837
     {
Please login to merge, or discard this patch.
Classes/Hooks/StaticFileCacheCreateUriHook.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@  discard block
 block discarded – undo
38 38
      * Initializes the variables before starting the processing.
39 39
      *
40 40
      * @param array $parameters The parameters used in this hook
41
-     * @param \SFC\NcStaticfilecache\StaticFileCache $parent The calling parent object
42 41
      *
43 42
      * @throws \Exception
44 43
      * @return void
@@ -55,7 +54,7 @@  discard block
 block discarded – undo
55 54
      * @param string $uri
56 55
      * @param TypoScriptFrontendController $frontend
57 56
      *
58
-     * @return array
57
+     * @return string[]
59 58
      *
60 59
      * @throws \Exception
61 60
      *
Please login to merge, or discard this patch.