Completed
Push — nozlib ( e6a6ca...216e72 )
by Andreas
07:21
created
inc/Form/ValueElement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * @param string $type
23
-     * @param array|string $value
23
+     * @param string $value
24 24
      * @param array $attributes
25 25
      */
26 26
     public function __construct($type, $value, $attributes = array()) {
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * Get or set the element's value
33 33
      *
34 34
      * @param null|string $value
35
-     * @return string|$this
35
+     * @return string
36 36
      */
37 37
     public function val($value = null) {
38 38
         if($value !== null) {
Please login to merge, or discard this patch.
inc/fulltext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
  *
325 325
  * @param string $id page id
326 326
  * @param array $highlight
327
- * @return mixed
327
+ * @return string
328 328
  */
329 329
 function ft_snippet($id,$highlight){
330 330
     $text = rawWiki($id);
Please login to merge, or discard this patch.
inc/indexer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
  * @author Tom N Harris <[email protected]>
63 63
  * @author Michael Hamann <[email protected]>
64 64
  *
65
- * @return int|string
65
+ * @return string
66 66
  */
67 67
 function idx_get_version(){
68 68
     static $indexer_version = null;
Please login to merge, or discard this patch.
inc/io.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
  * @param string $file      filename
182 182
  * @param string $content
183 183
  * @param string $id        page id
184
- * @param int|bool $rev timestamp of revision
184
+ * @param integer $rev timestamp of revision
185 185
  * @return bool
186 186
  */
187 187
 function io_writeWikiPage($file, $content, $id, $rev=false) {
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
  * @author  Andreas Gohr <[email protected]>
489 489
  *
490 490
  * @param string $target filename
491
- * @return bool|int|string
491
+ * @return resource|null
492 492
  */
493 493
 function io_mkdir_p($target){
494 494
     global $conf;
Please login to merge, or discard this patch.
inc/IXR_Library.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1080,7 +1080,7 @@
 block discarded – undo
1080 1080
 
1081 1081
     /**
1082 1082
      * @param string $method
1083
-     * @return mixed
1083
+     * @return string
1084 1084
      */
1085 1085
     function methodHelp($method) {
1086 1086
         return $this->help[$method];
Please login to merge, or discard this patch.
inc/JpegMeta.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -2743,6 +2743,10 @@  discard block
 block discarded – undo
2743 2743
     }
2744 2744
 
2745 2745
     /*************************************************************/
2746
+
2747
+    /**
2748
+     * @param string $mode
2749
+     */
2746 2750
     function _exifTagTypes($mode) {
2747 2751
         $tags = array();
2748 2752
 
@@ -2893,6 +2897,10 @@  discard block
 block discarded – undo
2893 2897
     }
2894 2898
 
2895 2899
     /*************************************************************/
2900
+
2901
+    /**
2902
+     * @param string $mode
2903
+     */
2896 2904
     function _exifNameTags($mode) {
2897 2905
         $tags = $this->_exifTagNames($mode);
2898 2906
         return $this->_names2Tags($tags);
@@ -2965,6 +2973,10 @@  discard block
 block discarded – undo
2965 2973
     }
2966 2974
 
2967 2975
     /*************************************************************/
2976
+
2977
+    /**
2978
+     * @param integer $pos
2979
+     */
2968 2980
     function _getShort(&$data, $pos, $bigEndian = true) {
2969 2981
         if ($bigEndian) {
2970 2982
             return (ord($data{$pos}) << 8)
Please login to merge, or discard this patch.
inc/Mailer.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * Add the To: recipients
293 293
      *
294 294
      * @see cleanAddress
295
-     * @param string|string[]  $address Multiple adresses separated by commas or as array
295
+     * @param string  $address Multiple adresses separated by commas or as array
296 296
      */
297 297
     public function to($address) {
298 298
         $this->setHeader('To', $address, false);
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
      * Add the Bcc: recipients
313 313
      *
314 314
      * @see cleanAddress
315
-     * @param string|string[]  $address Multiple adresses separated by commas or as array
315
+     * @param string  $address Multiple adresses separated by commas or as array
316 316
      */
317 317
     public function bcc($address) {
318 318
         $this->setHeader('Bcc', $address, false);
Please login to merge, or discard this patch.
inc/media.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -623,7 +623,7 @@  discard block
 block discarded – undo
623 623
  * @param string   $file    path to file
624 624
  * @param string   $mime    mime type
625 625
  * @param bool|int $old_rev revision timestamp or false
626
- * @return bool
626
+ * @return false|null
627 627
  */
628 628
 function media_notify($id,$file,$mime,$old_rev=false){
629 629
     global $conf;
@@ -962,7 +962,7 @@  discard block
 block discarded – undo
962 962
  * @param string         $image media id
963 963
  * @param int            $auth permission level
964 964
  * @param int|string     $rev revision timestamp or empty string
965
- * @param JpegMeta|bool  $meta
965
+ * @param JpegMeta  $meta
966 966
  *
967 967
  * @author Kate Arzamastseva <[email protected]>
968 968
  */
@@ -1128,7 +1128,7 @@  discard block
 block discarded – undo
1128 1128
  * @param string        $image image id
1129 1129
  * @param int           $auth  permission level
1130 1130
  * @param string|int    $rev   revision timestamp, or empty string
1131
- * @param bool|JpegMeta $meta  image object, or create one if false
1131
+ * @param JpegMeta $meta  image object, or create one if false
1132 1132
  */
1133 1133
 function media_details($image, $auth, $rev='', $meta=false) {
1134 1134
     global $lang;
@@ -1719,7 +1719,7 @@  discard block
 block discarded – undo
1719 1719
  * @param string     $amp           separator
1720 1720
  * @param bool       $abs           absolute url?
1721 1721
  * @param bool       $params_array  return the parmeters array?
1722
- * @return string|array - link or link parameters
1722
+ * @return string[] - link or link parameters
1723 1723
  */
1724 1724
 function media_managerURL($params=false, $amp='&amp;', $abs=false, $params_array=false) {
1725 1725
     global $ID;
Please login to merge, or discard this patch.
inc/pageutils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@
 block discarded – undo
492 492
  * @param string $ns namespace which is context of id
493 493
  * @param string &$page (reference) relative media id, updated to resolved id
494 494
  * @param bool &$exists (reference) updated with existance of media
495
- * @param int|string $rev
495
+ * @param string $rev
496 496
  * @param bool $date_at
497 497
  */
498 498
 function resolve_mediaid($ns,&$page,&$exists,$rev='',$date_at=false){
Please login to merge, or discard this patch.