Failed Conditions
Pull Request — master (#3361)
by
unknown
03:36
created
inc/media.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -665,7 +665,7 @@  discard block
 block discarded – undo
665 665
  * @param string   $file    path to file
666 666
  * @param string   $mime    mime type
667 667
  * @param bool|int $old_rev revision timestamp or false
668
- * @return bool
668
+ * @return false|null
669 669
  */
670 670
 function media_notify($id,$file,$mime,$old_rev=false,$current_rev=false){
671 671
     global $conf;
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
  * @param string     $image media id
936 936
  * @param string     $ns
937 937
  * @param null|int   $auth  permission level
938
- * @param string|int $rev   revision timestamp or empty string
938
+ * @param boolean $rev   revision timestamp or empty string
939 939
  */
940 940
 function media_tab_view($image, $ns, $auth=null, $rev='') {
941 941
     global $lang;
@@ -1004,7 +1004,7 @@  discard block
 block discarded – undo
1004 1004
  * @param string         $image media id
1005 1005
  * @param int            $auth permission level
1006 1006
  * @param int|string     $rev revision timestamp or empty string
1007
- * @param JpegMeta|bool  $meta
1007
+ * @param JpegMeta  $meta
1008 1008
  *
1009 1009
  * @author Kate Arzamastseva <[email protected]>
1010 1010
  */
@@ -1170,7 +1170,7 @@  discard block
 block discarded – undo
1170 1170
  * @param string        $image image id
1171 1171
  * @param int           $auth  permission level
1172 1172
  * @param string|int    $rev   revision timestamp, or empty string
1173
- * @param bool|JpegMeta $meta  image object, or create one if false
1173
+ * @param JpegMeta $meta  image object, or create one if false
1174 1174
  */
1175 1175
 function media_details($image, $auth, $rev='', $meta=false) {
1176 1176
     global $lang;
Please login to merge, or discard this patch.
inc/Ui/Diff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      * Gets or Sets preference of the Ui\Diff object
60 60
      *
61 61
      * @param string|array $prefs  a key name or key-value pair(s)
62
-     * @param mixed $value         value used when the first args is string
62
+     * @param boolean $value         value used when the first args is string
63 63
      * @return array|$this
64 64
      */
65 65
     public function preference($prefs = null, $value = null)
Please login to merge, or discard this patch.
inc/Ui/PageDiff.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,6 +381,7 @@  discard block
 block discarded – undo
381 381
      * @params array $revs  list of revsion
382 382
      * @param int $oldRev  timestamp of older revision, left side
383 383
      * @param int $newRev  timestamp of newer revision, right side
384
+     * @param string $side
384 385
      * @return array
385 386
      */
386 387
     protected function buildRevisionOptions($side, $revs, $oldRev, $newRev)
@@ -424,7 +425,8 @@  discard block
 block discarded – undo
424 425
      * @params array $options  dropdown options
425 426
      * @param int $oldRev  timestamp of older revision, left side
426 427
      * @param int $newRev  timestamp of newer revision, right side
427
-     * @return sting
428
+     * @param string $side
429
+     * @return string
428 430
      */
429 431
     protected function buildDropdownSelector($side, $options, $oldRev, $newRev)
430 432
     {
Please login to merge, or discard this patch.