Skip to content

Commit 5559514

Browse files
committed
PHPStan fix
1 parent 6089f4f commit 5559514

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Package_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public function get( $args, $assoc_args ) {
585585

586586
if ( ! $skip_update_check ) {
587587
try {
588-
$latest = $this->find_latest_package( $package, $composer, null );
588+
$latest = $this->find_latest_package( $package, $composer );
589589
if ( $latest && $latest->getFullPrettyVersion() !== $package->getFullPrettyVersion() ) {
590590
$update = 'available';
591591
$update_version = $latest->getPrettyVersion();

0 commit comments

Comments
 (0)