apply rector rules

This commit is contained in:
2025-10-30 01:20:52 +01:00
parent 7a790d43ec
commit 14d65fa931
91 changed files with 306 additions and 571 deletions

View File

@@ -52,7 +52,6 @@ class CustomFieldRenderingTwig extends AbstractExtension
],
'needs_environment' => true,
]),
new TwigFunction('chill_custom_field_is_empty', $this->isEmptyValue(...)),
];
}
@@ -64,6 +63,7 @@ class CustomFieldRenderingTwig extends AbstractExtension
return 'chill_custom_fields_rendering';
}
#[\Twig\Attribute\AsTwigFunction('chill_custom_field_is_empty')]
public function isEmptyValue($fields, CustomField $customField)
{
return $this->customFieldsHelper