@@ -34,7 +34,7 @@ |
||
| 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; |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | // must be run within Dokuwiki |
| 10 | 10 | use dokuwiki\plugin\struct\meta\AccessTable; |
| 11 | 11 | use dokuwiki\plugin\struct\meta\Assignments; |
| 12 | -use dokuwiki\plugin\struct\meta\AccessTableData; |
|
| 13 | 12 | use dokuwiki\plugin\struct\meta\StructException; |
| 14 | 13 | |
| 15 | 14 | if(!defined('DOKU_INC')) die(); |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use dokuwiki\plugin\struct\meta\AccessTable; |
| 13 | 13 | use dokuwiki\plugin\struct\meta\Assignments; |
| 14 | 14 | use dokuwiki\plugin\struct\meta\AccessDataValidator; |
| 15 | -use dokuwiki\plugin\struct\meta\Value; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * Class action_plugin_struct_entry |
@@ -31,7 +31,7 @@ discard block |
||
| 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 |
||
| 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']; |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | // must be run within Dokuwiki |
| 10 | 10 | use dokuwiki\plugin\struct\meta\AccessDataValidator; |
| 11 | 11 | use dokuwiki\plugin\struct\meta\AccessTable; |
| 12 | -use dokuwiki\plugin\struct\meta\AccessTableLookup; |
|
| 13 | 12 | use dokuwiki\plugin\struct\meta\Assignments; |
| 14 | 13 | use dokuwiki\plugin\struct\meta\Schema; |
| 15 | 14 | use dokuwiki\plugin\struct\meta\StructException; |
@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 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) { |
@@ -106,6 +106,7 @@ |
||
| 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 | /** |
@@ -112,7 +112,7 @@ |
||
| 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']; |
@@ -73,6 +73,7 @@ discard block |
||
| 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 |
||
| 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(); |
@@ -185,6 +185,7 @@ discard block |
||
| 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 |
||
| 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 | */ |