Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit c2a6fc2

Browse files
committed
Removed call to deprecated class
1 parent b8a08ba commit c2a6fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Twig/HumanReadableExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class HumanReadableExtension extends \Twig_Extension
1414
public function getFilters()
1515
{
1616
return array(
17-
new \Twig_SimpleFilter('sizeFormat', [$this, 'size_format']),
17+
new \Twig_Filter('sizeFormat', [$this, 'size_format']),
1818
);
1919
}
2020
/**

0 commit comments

Comments
 (0)