Completed
Push — psr2-config-update-comments ( 8356fe )
by
unknown
08:25 queued 04:46
created
inc/PluginTrait.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @see DokuWiki_PluginInterface::loadHelper()
42
+     * @param string $name
42 43
      */
43 44
     public function loadHelper($name, $msg = true) {
44 45
         $obj = plugin_load('helper', $name);
@@ -86,6 +87,7 @@  discard block
 block discarded – undo
86 87
 
87 88
     /**
88 89
      * @see DokuWiki_PluginInterface::locale_xhtml()
90
+     * @param string $id
89 91
      */
90 92
     public function locale_xhtml($id) {
91 93
         return p_cached_output($this->localFN($id));
Please login to merge, or discard this patch.
inc/template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
  * @param string      $id   page id
425 425
  * @param string|null $name the name of the link
426 426
  * @param bool        $return
427
- * @return true|string
427
+ * @return string|boolean
428 428
  */
429 429
 function tpl_pagelink($id, $name = null, $return = false) {
430 430
     $out = '<bdi>'.html_wikilink($id, $name).'</bdi>';
Please login to merge, or discard this patch.
inc/parser/metadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
      * keep track of internal links in $this->meta['relation']['references']
409 409
      *
410 410
      * @param string            $id   page ID to link to. eg. 'wiki:syntax'
411
-     * @param string|array|null $name name for the link, array for media file
411
+     * @param string $name name for the link, array for media file
412 412
      */
413 413
     public function internallink($id, $name = null) {
414 414
         global $ID;
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
      *
580 580
      * @param string $name
581 581
      *
582
-     * @return mixed|string
582
+     * @return string
583 583
      */
584 584
     public function _simpleTitle($name) {
585 585
         global $conf;
Please login to merge, or discard this patch.
inc/Remote/Api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
     /**
333 333
      * Transform file to xml
334 334
      *
335
-     * @param mixed $data
335
+     * @param string|boolean $data
336 336
      * @return mixed
337 337
      */
338 338
     public function toFile($data)
Please login to merge, or discard this patch.
lib/plugins/info/syntax.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/plugins/authplain/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * @author  Andreas Gohr <[email protected]>
84 84
      * @param string $user
85 85
      * @param bool $requireGroups  (optional) ignored by this plugin, grps info always supplied
86
-     * @return array|false
86
+     * @return string
87 87
      */
88 88
     public function getUserData($user, $requireGroups = true)
89 89
     {
Please login to merge, or discard this patch.
lib/plugins/acl/admin.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -751,6 +751,8 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/plugins/usermanager/admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1169,6 +1169,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
lib/plugins/config/admin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 use dokuwiki\plugin\config\core\Configuration;
11 11
 use dokuwiki\plugin\config\core\Setting\Setting;
12
-use dokuwiki\plugin\config\core\Setting\SettingFieldset;
13 12
 use dokuwiki\plugin\config\core\Setting\SettingHidden;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.