@@ -28,7 +28,7 @@ |
||
| 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 | { |
@@ -665,7 +665,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -664,7 +664,7 @@ |
||
| 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. |
@@ -6,8 +6,6 @@ |
||
| 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 | |