diff --git a/src/Commands/ThemeInstallCommand.php b/src/Commands/ThemeInstallCommand.php index f179b2d..886c1ad 100644 --- a/src/Commands/ThemeInstallCommand.php +++ b/src/Commands/ThemeInstallCommand.php @@ -42,7 +42,7 @@ public function handle() $path = $pluginDirectory; } - if (!$path || !file_exists($path)) { + if (! $path || ! file_exists($path)) { $this->error('Failed to unzip, couldn\'t find the theme path'); return Command::FAILURE; diff --git a/src/Support/Zip.php b/src/Support/Zip.php index f0a7b6e..9a2d111 100644 --- a/src/Support/Zip.php +++ b/src/Support/Zip.php @@ -39,7 +39,7 @@ public function pack(string $sourcePath, ?string $filename = null, ?string $targ $basename = File::name($zipFilepath); $zipCount = count(File::glob("{$targetPath}/{$basename}*.zip")); - $zipFilename = $basename.($zipCount).'.zip'; + $zipFilename = $basename.$zipCount.'.zip'; $zipFilepath = "{$targetPath}/{$zipFilename}"; }