Failed Conditions
Pull Request — master (#3198)
by
unknown
02:55
created
inc/Form/TextareaElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * This is the preferred way of setting the element's value
29 29
      *
30 30
      * @param null|string $value
31
-     * @return string|$this
31
+     * @return string
32 32
      */
33 33
     public function val($value = null)
34 34
     {
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
@@ -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/form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -664,7 +664,7 @@
 block discarded – undo
664 664
  * @param string           $name     Name attribute of the input.
665 665
  * @param string[]|array[] $values   The list of values can be strings, arrays of (value,text),
666 666
  *                                   or an associative array with the values as keys and labels as values.
667
- * @param array|string     $selected value or array of values of the items that need to be selected
667
+ * @param string     $selected value or array of values of the items that need to be selected
668 668
  * @param string           $class    Class attribute of the label. If this is 'block',
669 669
  *                                   then a line break will be added after the field.
670 670
  * @param string           $label    Label that will be printed before the input.
Please login to merge, or discard this patch.
inc/html.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
  * @author     Andreas Gohr <[email protected]>
7 7
  */
8 8
 
9
-use dokuwiki\ChangeLog\MediaChangeLog;
10
-use dokuwiki\ChangeLog\PageChangeLog;
11 9
 use dokuwiki\Extension\AuthPlugin;
12 10
 use dokuwiki\Extension\Event;
13 11
 
Please login to merge, or discard this patch.