Completed
Push — actionrefactor ( 6e4bf0 )
by Andreas
04:36
created
inc/parserutils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
  *
455 455
  * @param string $id    page id
456 456
  * @param array  $orig  the original metadata
457
- * @return array|null array('current'=> array,'persistent'=> array);
457
+ * @return string array('current'=> array,'persistent'=> array);
458 458
  */
459 459
 function p_render_metadata($id, $orig){
460 460
     // make sure the correct ID is in global ID
Please login to merge, or discard this patch.
inc/PassHash.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -113,6 +113,7 @@
 block discarded – undo
113 113
      * @param string|null &$salt  The salt, pass null if you want one generated
114 114
      * @param int          $len   The length of the salt
115 115
      * @param bool         $cut   Apply length restriction to existing salt?
116
+     * @param string|null $salt
116 117
      */
117 118
     public function init_salt(&$salt, $len = 32, $cut = true) {
118 119
         if(is_null($salt)) {
Please login to merge, or discard this patch.
inc/remote.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
     /**
307 307
      * Transform file to xml
308 308
      *
309
-     * @param mixed $data
309
+     * @param string|boolean $data
310 310
      * @return mixed
311 311
      */
312 312
     public function toFile($data) {
Please login to merge, or discard this patch.
inc/utf8.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -614,7 +614,7 @@
 block discarded – undo
614 614
     /**
615 615
      * Decodes numeric HTML entities to their correct UTF-8 characters
616 616
      *
617
-     * @param $ent string A numeric entity
617
+     * @param string $ent string A numeric entity
618 618
      * @return string|false
619 619
      */
620 620
     function utf8_decode_numeric($ent) {
Please login to merge, or discard this patch.
lib/exe/css.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
  *
263 263
  * @param string $tpl the used template
264 264
  * @param bool   $preview load preview replacements
265
- * @return array with keys 'stylesheets' and 'replacements'
265
+ * @return string with keys 'stylesheets' and 'replacements'
266 266
  */
267 267
 function css_styleini($tpl, $preview=false) {
268 268
     global $conf;
@@ -437,6 +437,9 @@  discard block
 block discarded – undo
437 437
     protected $location;             // base url location of the CSS/Less file
438 438
     protected $relative_path = null;
439 439
 
440
+    /**
441
+     * @param string $file
442
+     */
440 443
     public function __construct($file) {
441 444
         $this->filepath = $file;
442 445
     }
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
@@ -713,6 +713,8 @@
 block discarded – undo
713 713
      *
714 714
      * @author  Frank Schubert <[email protected]>
715 715
      * @author  Andreas Gohr <[email protected]>
716
+     * @param boolean $ispage
717
+     * @param string $name
716 718
      */
717 719
     function _html_checkboxes($setperm,$ispage,$name){
718 720
         global $lang;
Please login to merge, or discard this patch.
lib/plugins/authmysql/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -765,7 +765,7 @@
 block discarded – undo
765 765
      * @author Matthias Grimm <[email protected]>
766 766
      *
767 767
      * @param  string $user  user's nick to get data for
768
-     * @return false|array false on error, user info on success
768
+     * @return string false on error, user info on success
769 769
      */
770 770
     protected function _retrieveUserInfo($user) {
771 771
         $sql    = str_replace('%{user}', $this->_escape($user), $this->getConf('getUserInfo'));
Please login to merge, or discard this patch.
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.