Skip to content

Commit

Permalink
Fix PHP / PHP CS Fixer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PululuK committed Oct 24, 2024
1 parent 9256ae0 commit 9e2bc0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/ObjectModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 actionObject<ObjectClassName>UpdateBefore
Hook::exec('actionObjectUpdateBefore', ['object' => $this, 'objectComparator' => $comparator]);
Expand Down

0 comments on commit 9e2bc0c

Please sign in to comment.