Skip to content

Commit e22bcc9

Browse files
authored
Merge pull request #81 from browner12/gzip-extension
Update NewCommand.php
2 parents f541c30 + 6d9a0f4 commit e22bcc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NewCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function configure()
4040
*/
4141
protected function execute(InputInterface $input, OutputInterface $output)
4242
{
43-
if (! class_exists('ZipArchive')) {
43+
if (! extension_loaded('zip')) {
4444
throw new RuntimeException('The Zip PHP extension is not installed. Please install it and try again.');
4545
}
4646

0 commit comments

Comments
 (0)