From 289f3208af888927741a4e5dc419a69f44711fea Mon Sep 17 00:00:00 2001 From: "Eirik S. Morland" Date: Mon, 16 Oct 2023 15:23:37 +0200 Subject: [PATCH] Fix typo --- src/Updater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Updater.php b/src/Updater.php index 425168b..63895af 100644 --- a/src/Updater.php +++ b/src/Updater.php @@ -271,7 +271,7 @@ public function setDevPackage($devPackage) $this->devPackage = $devPackage; } - protected function getPreUpdataData() : array + protected function getPreUpdateData() : array { $pre_update_lock = ComposerLockData::createFromFile($this->cwd . '/composer.lock'); return array_map(function($package) use ($pre_update_lock) { @@ -327,7 +327,7 @@ public function executeRequire($new_version) */ public function executeUpdate() { - $pre_update_data = $this->getPreUpdataData(); + $pre_update_data = $this->getPreUpdateData(); $commands = $this->getUpdateRecipies(); $exception = null; $success = false;