Completed
Push — serial ( 9a4994 )
by Andreas
01:27
created
action/diff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param Doku_Event $event event object by reference
35 35
      * @param mixed $param [the parameters passed as fifth argument to register_hook() when this
36 36
      *                           handler was registered]
37
-     * @return bool
37
+     * @return boolean|null
38 38
      */
39 39
     public function handle_diffload(Doku_Event $event, $param) {
40 40
         global $ACT;
Please login to merge, or discard this patch.
action/search.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      * @param Doku_Event $event event object by reference
32 32
      * @param mixed $param [the parameters passed as fifth argument to register_hook() when this
33 33
      *                           handler was registered]
34
-     * @return bool
34
+     * @return boolean|null
35 35
      */
36 36
     public function handle_indexing(Doku_Event $event, $param) {
37 37
         $id = $event->data['page'];
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @param Doku_Event $event event object by reference
53 53
      * @param mixed $param [the parameters passed as fifth argument to register_hook() when this
54 54
      *                           handler was registered]
55
-     * @return bool
55
+     * @return boolean|null
56 56
      */
57 57
     public function handle_snippets(Doku_Event $event, $param) {
58 58
         $id = $event->data['id'];
Please login to merge, or discard this patch.
helper/config.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @param $logic
27
+     * @param string $logic
28 28
      * @param $val
29 29
      *
30 30
      * @return array|bool
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param string $val
45 45
      *
46
-     * @return array ($col, $comp, $value)
46
+     * @return string[] ($col, $comp, $value)
47 47
      * @throws dokuwiki\plugin\struct\meta\StructException
48 48
      */
49 49
     protected function parseFilter($val) {
Please login to merge, or discard this patch.
meta/AggregationCloud.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -106,6 +106,7 @@
 block discarded – undo
106 106
      * Render a tag of the cloud
107 107
      *
108 108
      * @param ['tag' => Value, 'count' => int] $result
109
+     * @param Value[] $result
109 110
      */
110 111
     protected function renderTag($result) {
111 112
         /**
Please login to merge, or discard this patch.
meta/AggregationList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     }
113 113
 
114 114
     /**
115
-     * @param $resultrow
115
+     * @param Value[] $resultrow
116 116
      */
117 117
     protected function renderListItem($resultrow) {
118 118
         $sepbyheaders = $this->searchConfig->getConf()['sepbyheaders'];
Please login to merge, or discard this patch.
meta/AggregationTable.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string $mode
74 74
      * @param \Doku_Renderer $renderer
75 75
      * @param SearchConfig $searchConfig
76
+     * @param string $idColumn
76 77
      */
77 78
     public function __construct($id, $mode, \Doku_Renderer $renderer, SearchConfig $searchConfig, $idColumn) {
78 79
         $this->id = $id;
@@ -371,7 +372,7 @@  discard block
 block discarded – undo
371 372
      * Render a single result row
372 373
      *
373 374
      * @param int $rownum
374
-     * @param array $row
375
+     * @param Value[] $row
375 376
      */
376 377
     protected function renderResultRow($rownum, $row) {
377 378
         $this->renderer->tablerow_open();
Please login to merge, or discard this patch.
meta/CSVImporter.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,6 +185,7 @@  discard block
 block discarded – undo
185 185
      * Read and validate CSV parsed line
186 186
      *
187 187
      * @param &$line
188
+     * @param string[] $line
188 189
      */
189 190
     protected function readLine(&$line) {
190 191
         // prepare values for single value table
@@ -227,8 +228,8 @@  discard block
 block discarded – undo
227 228
      * INSERT one row into multi_* table
228 229
      *
229 230
      * @param string $multi SQL for multi table
230
-     * @param $pid string
231
-     * @param $column string
231
+     * @param string $pid string
232
+     * @param Column $column string
232 233
      * @param $row string
233 234
      * @param $value string
234 235
      */
Please login to merge, or discard this patch.
meta/Search.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      *
310 310
      * Important: this may only be called after running @see execute()
311 311
      *
312
-     * @return \string[]
312
+     * @return string[]
313 313
      */
314 314
     public function getPids() {
315 315
         if($this->result_pids === null) throw new StructException('PIDs are only accessible after executing the search');
@@ -562,7 +562,7 @@  discard block
 block discarded – undo
562 562
      *
563 563
      * Handles Aliases. Table might be null if none given.
564 564
      *
565
-     * @param $colname
565
+     * @param string $colname
566 566
      * @return array (colname, table)
567 567
      */
568 568
     protected function resolveColumn($colname) {
Please login to merge, or discard this patch.
meta/SearchConfigParameters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      * Returns the full qualified name for a given column
59 59
      *
60 60
      * @param string|Column $column
61
-     * @return bool|string
61
+     * @return false|string
62 62
      */
63 63
     protected function resolveColumn($column) {
64 64
         if(!is_a($column, '\dokuwiki\plugin\struct\meta\Column')) {
Please login to merge, or discard this patch.