Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Dec 22, 2024
1 parent 8f9423b commit 198433e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MinifyInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function download(string $version): void
if (str_ends_with($downloadFilename, '.zip')) {
// Windows archive (minify.exe)
$archive = new \ZipArchive();
if (false === $archive->open($downloadFilename)) {
if (true !== $archive->open($downloadFilename)) {
throw new InstallException(sprintf('Error opening archive "%s".', $downloadFilename));
}
if (false === $archive->extractTo($tempDir, 'minify.exe')) {
Expand Down

0 comments on commit 198433e

Please sign in to comment.