From 9e2bc0c324054e1867aae9890e4ae60689ddd023 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 aca6477702e78..9481fecccf999 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]);