Skip to content

Commit f875e86

Browse files
authored
Add a return type hint (#25)
... to avoid a Symfony DebugClassLoader deprecation notice.
1 parent ee4e741 commit f875e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Twig/ShortcodeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct(Processor $processor)
1919
$this->processor = $processor;
2020
}
2121

22-
public function getFilters()
22+
public function getFilters(): array
2323
{
2424
return [
2525
new TwigFilter('shortcodes', [$this, 'processShortcodes'], ['is_safe' => ['html']]),

0 commit comments

Comments
 (0)