From 20e4352f463a467415c53622fe94812226bae588 Mon Sep 17 00:00:00 2001 From: PululuK Date: Tue, 22 Oct 2024 14:27:56 +0200 Subject: [PATCH] Fix PHP / PHP CS Fixer tests --- classes/ObjectModel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/ObjectModel.php b/classes/ObjectModel.php index 267120816d20d..dbe6ede12e727 100644 --- a/classes/ObjectModel.php +++ b/classes/ObjectModel.php @@ -714,12 +714,13 @@ public function update($null_values = false) * * @param bool $null_values * @param ObjectModelComparator|null $comparator + * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ - protected function processUpdateAction(bool $null_values = false, ObjectModelComparator $comparator = null): bool + protected function processUpdateAction(bool $null_values = false, ?ObjectModelComparator $comparator = null): bool { // @hook actionObjectUpdateBefore Hook::exec('actionObjectUpdateBefore', ['object' => $this, 'objectComparator' => $comparator]);