@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param int $state The lexer state for the match |
50 | 50 | * @param int $pos The character position of the matched text |
51 | 51 | * @param Doku_Handler $handler The Doku_Handler object |
52 | - * @return array Return an array with all data you want to use in render |
|
52 | + * @return string[] Return an array with all data you want to use in render |
|
53 | 53 | */ |
54 | 54 | public function handle($match, $state, $pos, Doku_Handler $handler) |
55 | 55 | { |
@@ -751,6 +751,8 @@ |
||
751 | 751 | * |
752 | 752 | * @author Frank Schubert <[email protected]> |
753 | 753 | * @author Andreas Gohr <[email protected]> |
754 | + * @param boolean $ispage |
|
755 | + * @param string $name |
|
754 | 756 | */ |
755 | 757 | protected function makeCheckboxes($setperm, $ispage, $name) |
756 | 758 | { |
@@ -1169,6 +1169,7 @@ |
||
1169 | 1169 | * |
1170 | 1170 | * @param array $user data of user |
1171 | 1171 | * @param string &$error reference catched error message |
1172 | + * @param string $error |
|
1172 | 1173 | * @return bool whether successful |
1173 | 1174 | */ |
1174 | 1175 | protected function importUser($user, &$error) |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | * |
195 | 195 | * @author Andreas Gohr <[email protected]> |
196 | 196 | * |
197 | - * @return array with info about current document |
|
197 | + * @return string with info about current document |
|
198 | 198 | */ |
199 | 199 | function pageinfo() { |
200 | 200 | global $ID; |
@@ -2045,6 +2045,7 @@ discard block |
||
2045 | 2045 | * Strips source mapping declarations from given text #601 |
2046 | 2046 | * |
2047 | 2047 | * @param string &$text reference to the CSS or JavaScript code to clean |
2048 | + * @param string $text |
|
2048 | 2049 | */ |
2049 | 2050 | function stripsourcemaps(&$text){ |
2050 | 2051 | $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text); |
@@ -189,7 +189,7 @@ |
||
189 | 189 | * @param string $user Username |
190 | 190 | * @param string $pass Cleartext Password |
191 | 191 | * @param bool $sticky Cookie should not expire |
192 | - * @return bool true on successful auth |
|
192 | + * @return boolean|null true on successful auth |
|
193 | 193 | */ |
194 | 194 | public function trustExternal($user, $pass, $sticky = false) |
195 | 195 | { |
@@ -85,6 +85,7 @@ |
||
85 | 85 | |
86 | 86 | /** |
87 | 87 | * @see PluginInterface::getLang() |
88 | + * @param string $id |
|
88 | 89 | */ |
89 | 90 | public function getLang($id) |
90 | 91 | { |