Skip to content

Commit

Permalink
Fix: RgbaColor::getDataForEditmode(): Argument #2 ($object) must be o…
Browse files Browse the repository at this point in the history
…f type ?Concrete, Localizedfield given (#15763)

* Fix: Wrong return type in RgbaColor::getDataForEditmode()

* Use getDataForEditmode
  • Loading branch information
blankse committed Aug 17, 2023
1 parent 4efa6a2 commit 3f400c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/DataObject/ClassDefinition/Data/RgbaColor.php
Expand Up @@ -273,7 +273,7 @@ public function getForCsvExport(DataObject\Localizedfield|DataObject\Fieldcollec
{
$data = $this->getDataFromObjectParam($object, $params);

return $this->getDataForEditmode($data, $object, $params) ?? '';
return $this->getDataForEditmode($data) ?? '';
}

/**
Expand Down

0 comments on commit 3f400c9

Please sign in to comment.