diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
commit | 9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch) | |
tree | 46d1a0dee7febef5c2d57a9f7b972be16a163b3d /includes/MacBinary.php | |
parent | 78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff) |
update to MediaWiki 1.17.0
Diffstat (limited to 'includes/MacBinary.php')
-rw-r--r-- | includes/MacBinary.php | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/includes/MacBinary.php b/includes/MacBinary.php index b5b11e6c..0c38a641 100644 --- a/includes/MacBinary.php +++ b/includes/MacBinary.php @@ -35,7 +35,7 @@ class MacBinary { * The file must be seekable, such as local filesystem. * Remote URLs probably won't work. * - * @param string $filename + * @param $filename String */ function open( $filename ) { $this->valid = false; @@ -48,7 +48,8 @@ class MacBinary { /** * Does this appear to be a valid MacBinary archive? - * @return bool + * + * @return Boolean */ function isValid() { return $this->valid; @@ -56,7 +57,8 @@ class MacBinary { /** * Get length of data fork - * @return int + * + * @return Integer */ function dataForkLength() { return $this->dataLength; @@ -64,8 +66,9 @@ class MacBinary { /** * Copy the data fork to an external file or resource. - * @param resource $destination - * @return bool + * + * @param $destination Ressource + * @return Boolean */ function extractData( $destination ) { if( !$this->isValid() ) { @@ -173,9 +176,9 @@ class MacBinary { * with magic array thingy by Jim Van Verth. * http://search.cpan.org/~eryq/Convert-BinHex-1.119/lib/Convert/BinHex.pm * - * @param string $data - * @param int $seed - * @return int + * @param $data String + * @param $seed Integer + * @return Integer * @access private */ function calcCRC( $data, $seed = 0 ) { @@ -226,9 +229,9 @@ class MacBinary { } /** - * @param resource $destination - * @param int $bytesToCopy - * @return bool + * @param $destination Resource + * @param $bytesToCopy Integer + * @return Boolean * @access private */ function copyBytesTo( $destination, $bytesToCopy ) { |