diff options
Diffstat (limited to 'ext/phar/phar_object.stub.php')
-rw-r--r-- | ext/phar/phar_object.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/phar_object.stub.php b/ext/phar/phar_object.stub.php index 13a00804ec..b8e428028e 100644 --- a/ext/phar/phar_object.stub.php +++ b/ext/phar/phar_object.stub.php @@ -174,7 +174,7 @@ class Phar extends RecursiveDirectoryIterator implements Countable, ArrayAccess final public static function unlinkArchive(string $filename): bool {} final public static function webPhar( - ?string $alias = null, ?string $index = null, string $fileNotFoundScript = "", + ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, array $mimeTypes = [], ?callable $rewrite = null): void {} } @@ -473,7 +473,7 @@ class PharData extends RecursiveDirectoryIterator implements Countable, ArrayAcc /** @implementation-alias Phar::webPhar */ final public static function webPhar( - ?string $alias = null, ?string $index = null, string $fileNotFoundScript = "", + ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, array $mimeTypes = [], ?callable $rewrite = null): void {} } |