diff --git a/src/NewCommand.php b/src/NewCommand.php index 7f429756..b74d0f8f 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -152,10 +152,10 @@ protected function extract($zipFile, $directory) { $archive = new ZipArchive; - $res = $archive->open($zipFile, ZipArchive::CHECKCONS); + $response = $archive->open($zipFile, ZipArchive::CHECKCONS); - if ($res === ZipArchive::ER_NOZIP) { - throw new RuntimeException('The zip file could not download. Check that you are able to access http://cabinet.laravel.com/latest.zip'); + if ($response === ZipArchive::ER_NOZIP) { + throw new RuntimeException('The zip file could not download. Verify that you are able to access: http://cabinet.laravel.com/latest.zip'); } $archive->extractTo($directory);