1
0
Fork 0

Fixed variable usage

pull/9286/head
Bezpiatov 2020-10-14 17:58:39 +03:00
parent 9a5121ed27
commit 140de5480d
1 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@ class UpdateOperation extends Operation implements OperationInterface
const TYPE = 'update';
protected $initialPackage;
protected $targetPackage;
/**
* Initializes update operation.
@ -64,7 +63,7 @@ class UpdateOperation extends Operation implements OperationInterface
*/
public function show($lock)
{
return self::format($this->initialPackage, $this->targetPackage, $lock);
return self::format($this->initialPackage, $this->package, $lock);
}
public static function format(PackageInterface $initialPackage, PackageInterface $targetPackage, $lock = false)