Skip to content

Commit

Permalink
"fix" a phpcs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
drzraf committed Oct 12, 2022
1 parent 4e53a5d commit 59e7186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Package_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ public function install( $args, $assoc_args ) {
// Download the remote ZIP file to a temp directory
$temp = false;
if ( false !== strpos( $package_name, '://' ) ) {
$temp = Utils\get_temp_dir() . uniqid( 'wp-cli-package_', true /*more_entropy*/ ) . '.zip';
$options = [
$temp = Utils\get_temp_dir() . uniqid( 'wp-cli-package_', true /*more_entropy*/ ) . '.zip';
$options = [
'timeout' => 600,
'filename' => $temp,
'insecure' => $insecure,
Expand Down

0 comments on commit 59e7186

Please sign in to comment.