Completed
Push — duchon-acl_list_xmlrpc ( 8059c1...55d675 )
by Gerrit
04:59
created
lib/plugins/config/settings/extra.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
          *
175 175
          * @param DokuWiki_Plugin $plugin object of config plugin
176 176
          * @param bool            $echo   true: show inputted value, when error occurred, otherwise the stored setting
177
-         * @return array with content array(string $label_html, string $input_html)
177
+         * @return string[] with content array(string $label_html, string $input_html)
178 178
          */
179 179
         function html(&$plugin, $echo=false) {
180 180
             global $lang;
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
          *
284 284
          * @param DokuWiki_Plugin $plugin object of config plugin
285 285
          * @param bool            $echo   true: show inputted value, when error occurred, otherwise the stored setting
286
-         * @return array with content array(string $label_html, string $input_html)
286
+         * @return string[] with content array(string $label_html, string $input_html)
287 287
          */
288 288
         function html(&$plugin, $echo=false) {
289 289
 
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
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      * @param   int          $state   The lexer state for the match
52 52
      * @param   int          $pos     The character position of the matched text
53 53
      * @param   Doku_Handler $handler The Doku_Handler object
54
-     * @return  array Return an array with all data you want to use in render
54
+     * @return  string[] Return an array with all data you want to use in render
55 55
      */
56 56
     function handle($match, $state, $pos, Doku_Handler $handler){
57 57
         $match = substr($match,7,-2); //strip ~~INFO: from start and ~~ from end
Please login to merge, or discard this patch.
lib/plugins/syntax.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      * @param string          $format   output format being rendered
99 99
      * @param Doku_Renderer   $renderer the current renderer object
100 100
      * @param array           $data     data created by handler()
101
-     * @return  boolean                 rendered correctly? (however, returned value is not used at the moment)
101
+     * @return  boolean|null                 rendered correctly? (however, returned value is not used at the moment)
102 102
      */
103 103
     function render($format, Doku_Renderer $renderer, $data) {
104 104
         trigger_error('render() not implemented in '.get_class($this), E_USER_WARNING);
Please login to merge, or discard this patch.
lib/plugins/usermanager/_test/csv_import.test.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -43,6 +43,10 @@
 block discarded – undo
43 43
         parent::tearDown();
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $importCsv
48
+     * @param boolean $expectedResult
49
+     */
46 50
     function doImportTest($importCsv, $expectedResult, $expectedNewUsers, $expectedFailures) {
47 51
         global $auth;
48 52
         $before_users = $auth->retrieveUsers();
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
@@ -1035,6 +1035,7 @@
 block discarded – undo
1035 1035
      *
1036 1036
      * @param array  $user   data of user
1037 1037
      * @param string &$error reference catched error message
1038
+     * @param string $error
1038 1039
      * @return bool whether successful
1039 1040
      */
1040 1041
     protected function _addImportUser($user, & $error){
Please login to merge, or discard this patch.
inc/DifferenceEngine.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@  discard block
 block discarded – undo
226 226
      * of the two files do not match, and likewise that the last lines do not
227 227
      * match.  The caller must trim matching lines from the beginning and end
228 228
      * of the portions it is going to specify.
229
+     * @param double $nchunks
229 230
      */
230 231
     function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) {
231 232
         $flip = false;
@@ -336,6 +337,10 @@  discard block
 block discarded – undo
336 337
      *
337 338
      * Note that XLIM, YLIM are exclusive bounds.
338 339
      * All line numbers are origin-0 and discarded lines are not counted.
340
+     * @param integer $xoff
341
+     * @param integer $xlim
342
+     * @param integer $yoff
343
+     * @param integer $ylim
339 344
      */
340 345
     function _compareseq($xoff, $xlim, $yoff, $ylim) {
341 346
         // Slide down the bottom initial diagonal.
@@ -918,6 +923,9 @@  discard block
 block discarded – undo
918 923
         $this->_tag = '';
919 924
     }
920 925
 
926
+    /**
927
+     * @param string $new_tag
928
+     */
921 929
     function _flushGroup($new_tag) {
922 930
         if ($this->_group !== '') {
923 931
             if ($this->_tag == 'mark')
@@ -1339,6 +1347,8 @@  discard block
 block discarded – undo
1339 1347
 
1340 1348
     /**
1341 1349
      * @access private
1350
+     * @param _DiffOp[] $edits1
1351
+     * @param _DiffOp[] $edits2
1342 1352
      */
1343 1353
     function _diff3($edits1, $edits2) {
1344 1354
         $edits = array();
Please login to merge, or discard this patch.
inc/Form/DropdownElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * Options can be given as associative array (value => label) or as an
31 31
      * indexd array (label = value).
32 32
      *
33
-     * @param null|array $options
33
+     * @param string $options
34 34
      * @return $this|array
35 35
      */
36 36
     public function options($options = null) {
Please login to merge, or discard this patch.
lib/plugins/authplain/_test/escaping.test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @return bool|mixed
121
+     * @return boolean
122 122
      */
123 123
     public function getPregsplit_safe(){
124 124
         return $this->_pregsplit_safe;
Please login to merge, or discard this patch.