return type for Phar::compress and Phar::decompress should be static
So PharData::compress and PharData::decompress return PharData but not Phar
This commit is contained in:
parent
baf3920218
commit
630cb82cd1
|
@ -167,7 +167,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
|
|||
* compressing tar archives. For decompressing, the default file extensions
|
||||
* are .phar and .phar.tar.
|
||||
* </p>
|
||||
* @return Phar a <b>Phar</b> object.
|
||||
* @return static a <b>Phar</b> object.
|
||||
*/
|
||||
public function compress ($compression, $extension = null) {}
|
||||
|
||||
|
@ -182,7 +182,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
|
|||
* that all executable phar archives must contain .phar
|
||||
* in their filename.
|
||||
* </p>
|
||||
* @return Phar A <b>Phar</b> object is returned.
|
||||
* @return static A <b>Phar</b> object is returned.
|
||||
*/
|
||||
public function decompress ($extension = null) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue