Skip to content

Commit

Permalink
Fix CS error
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 8, 2024
1 parent 6269278 commit f727328
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/View/Helper/CrudViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,13 @@ public function introspect(string $field, mixed $value, array $options = []): ar
if (isset($fieldFormatters[$type])) {
/** @psalm-suppress PossiblyNullArrayOffset */
if (is_callable($fieldFormatters[$type])) {
return $fieldFormatters[$type]($field, $value, $this->getContext()->entity(), $options, $this->getView());
return $fieldFormatters[$type](
$field,
$value,
$this->getContext()->entity(),
$options,
$this->getView()
);
}

/** @psalm-suppress PossiblyNullArrayOffset */
Expand Down

0 comments on commit f727328

Please sign in to comment.