chore: code cleanup with rector and php-cs-fixer

This commit is contained in:
Björn Fromme
2026-05-04 17:20:01 +02:00
parent d211425ff2
commit 1fa8f88a6d
38 changed files with 130 additions and 98 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ class ErrorCodeExtension extends AbstractExtension
public function getFunctions(): array
{
return [
new TwigFunction('error_code', [$this, 'getErrorCode']),
new TwigFunction('has_error_code', [$this, 'hasErrorCode']),
new TwigFunction('error_code', $this->getErrorCode(...)),
new TwigFunction('has_error_code', $this->hasErrorCode(...)),
];
}