From f7273289226dc7d54978c03246a299b3935571bd Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 8 Sep 2024 12:28:13 +0530 Subject: [PATCH] Fix CS error --- src/View/Helper/CrudViewHelper.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/View/Helper/CrudViewHelper.php b/src/View/Helper/CrudViewHelper.php index 901775b..807d1b5 100644 --- a/src/View/Helper/CrudViewHelper.php +++ b/src/View/Helper/CrudViewHelper.php @@ -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 */