Completed
Branch 6-0 (b1c025)
by Tomas Norre
14:29 queued 12:35
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.
domain/reason/class.tx_crawler_domain_reason.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * This method is used to set the uid of the queue entry
112 112
      * where the reason is relevant for.
113 113
      *
114
-     * @param int $entry_id
114
+     * @param int $entry_uid
115 115
      */
116 116
     public function setQueueEntryUid($entry_uid)
117 117
     {
Please login to merge, or discard this patch.
domain/queue/class.tx_crawler_domain_queue_repository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     {
67 67
         $db = $this->getDB();
68 68
         $where = 'process_id_completed='.$db->fullQuoteStr($process->getProcess_id(), $this->tableName).
69
-                 ' AND exec_time > 0 ';
69
+                    ' AND exec_time > 0 ';
70 70
         $limit = 1;
71 71
         $groupby = '';
72 72
 
Please login to merge, or discard this patch.
view/process/class.tx_crawler_view_process_list.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,6 +116,7 @@  discard block
 block discarded – undo
116 116
      * Set the page id
117 117
      *
118 118
      * @param int page id
119
+     * @param integer $pageId
119 120
      */
120 121
     public function setPageId($pageId)
121 122
     {
@@ -293,7 +294,7 @@  discard block
 block discarded – undo
293 294
      * Converts seconds into minutes
294 295
      *
295 296
      * @param int $seconds
296
-     * @return int
297
+     * @return double
297 298
      */
298 299
     protected function asMinutes($seconds)
299 300
     {
@@ -444,7 +445,7 @@  discard block
 block discarded – undo
444 445
      * just a wrapper should be done in a cleaner way
445 446
      * later on
446 447
      *
447
-     * @param $label
448
+     * @param string $label
448 449
      * @return string
449 450
      */
450 451
     protected function getLLLabel($label)
Please login to merge, or discard this patch.
cli/class.tx_crawler_cli_im.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@
 block discarded – undo
49 49
 
50 50
         // Adding options to help archive:
51 51
         /**
52
-        * We removed the "proc" option as it seemd not to be working any more. But as the complete handling of the crawler has changed regarding the configuration
53
-        * this is completely ok. Since configuration records were introduced to configure "what should be done" additionally to page ts the way to setup jobs
54
-        * has drifted from selecting filtering processing instructions to selecting/filtering configuration keys (you can configure the processing instructions there).
55
-        * This is also reflected in the backend modules and allows you a much clearer and powerful way to work with the crawler extension.
56
-        */
52
+         * We removed the "proc" option as it seemd not to be working any more. But as the complete handling of the crawler has changed regarding the configuration
53
+         * this is completely ok. Since configuration records were introduced to configure "what should be done" additionally to page ts the way to setup jobs
54
+         * has drifted from selecting filtering processing instructions to selecting/filtering configuration keys (you can configure the processing instructions there).
55
+         * This is also reflected in the backend modules and allows you a much clearer and powerful way to work with the crawler extension.
56
+         */
57 57
         // $this->cli_options[] = array('-proc listOfProcInstr', 'Comma list of processing instructions. These are the "actions" carried out when crawling and you must specify at least one. Depends on third-party extensions. Examples are "tx_cachemgm_recache" from "cachemgm" extension (will recache pages), "tx_staticpub_publish" from "staticpub" (publishing pages to static files) or "tx_indexedsearch_reindex" from "indexed_search" (indexes pages).');
58 58
         // TODO: cleanup here!
59 59
         $this->cli_options[] = ['-d depth', 'Tree depth, 0-99', "How many levels under the 'page_id' to include."];
Please login to merge, or discard this patch.
modfunc1/class.tx_crawler_modfunc1.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -694,6 +694,7 @@  discard block
 block discarded – undo
694 694
      * @param	array		Page row or set-id
695 695
      * @param	string		Title string
696 696
      * @param	int			Items per Page setting
697
+     * @param string $titleString
697 698
      * @return	string		HTML <tr> content (one or more)
698 699
      */
699 700
     public function drawLog_addRows($pageRow_setId, $titleString, $itemsPerPage = 10)
@@ -1204,6 +1205,8 @@  discard block
 block discarded – undo
1204 1205
      * @param	string		Selector box name
1205 1206
      * @param	string		Selector box value (array for multiple...)
1206 1207
      * @param	boolean		If set, will draw multiple box.
1208
+     * @param string $name
1209
+     * @param integer $multiple
1207 1210
      * @return	string		HTML select element
1208 1211
      */
1209 1212
     public function selectorBox($optArray, $name, $value, $multiple)
Please login to merge, or discard this patch.