Skip to content

Commit 0fd6a34

Browse files
committed
Pass valid MIME types to Phar::webPhar test
1 parent c0d85a3 commit 0fd6a34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ext/phar/tests/gh25112.phpt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $fname = __DIR__ . '/gh25112.phar';
2020
$phar = new Phar($fname);
2121
$phar->addFromString('index.php', '<?php echo "ok\n"; ?>');
2222
$phar->setStub('<?php
23-
Phar::webPhar(null, null, null, null, function ($path) { return "/"; });
23+
Phar::webPhar(null, null, null, [], function ($path) { return "/"; });
2424
__HALT_COMPILER(); ?>');
2525
unset($phar);
2626
include $fname;

0 commit comments

Comments
 (0)