From: Matthias Schmidt Date: Fri, 27 May 2016 06:39:04 +0000 (+0200) Subject: Fix @method tags for file functions X-Git-Tag: 3.0.0_Beta_1~1612 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da6c24f304c696ea2967464b03d74d26d09d2785;p=GitHub%2FWoltLab%2FWCF.git Fix @method tags for file functions --- diff --git a/wcfsetup/install/files/lib/system/io/File.class.php b/wcfsetup/install/files/lib/system/io/File.class.php index 9dce79165e..5266e4925e 100644 --- a/wcfsetup/install/files/lib/system/io/File.class.php +++ b/wcfsetup/install/files/lib/system/io/File.class.php @@ -23,15 +23,15 @@ use wcf\system\exception\SystemException; * @subpackage system.io * @category Community Framework * - * @method boolean close($handle) - * @method boolean eof($handle) - * @method string gets($handle, $length = null) - * @method resource open($filename, $mode, $use_include_path = false, $context = null) - * @method integer seek($handle, $offset, $whence = SEEK_SET) - * @method string read($zp, $length) - * @method integer tell($handle) - * @method boolean touch($filename, $time = 0, $atime = 0) note: default value of `$time` actually is `time()` - * @method integer write($handle, $string, $length = null) + * @method boolean close() + * @method boolean eof() + * @method string gets($length = null) + * @method resource open($mode, $use_include_path = false, $context = null) + * @method integer seek($offset, $whence = SEEK_SET) + * @method string read($length) + * @method integer tell() + * @method boolean touch($time = 0, $atime = 0) note: default value of `$time` actually is `time()` + * @method integer write($string, $length = null) */ class File { /** diff --git a/wcfsetup/install/files/lib/system/io/GZipFile.class.php b/wcfsetup/install/files/lib/system/io/GZipFile.class.php index b4ae3162b3..769ddf8926 100644 --- a/wcfsetup/install/files/lib/system/io/GZipFile.class.php +++ b/wcfsetup/install/files/lib/system/io/GZipFile.class.php @@ -12,8 +12,8 @@ use wcf\system\exception\SystemException; * @subpackage system.io * @category Community Framework * - * @method resource open($filename, $mode, $use_include_path = 0) - * @method boolean rewind($zp) + * @method resource open($mode, $use_include_path = 0) + * @method boolean rewind() */ class GZipFile extends File { /**