mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-06 07:13:31 +03:00
Using old array syntax
This commit is contained in:
parent
2cbd828973
commit
f815162ba7
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class MarkdownExtension extends \Twig_Extension
|
|||
public function getFilters()
|
||||
{
|
||||
return array(
|
||||
new \Twig_SimpleFilter('extra_markdown', [$this, 'markdown'], array('is_safe' => array('html'))),
|
||||
new \Twig_SimpleFilter('extra_markdown', array($this, 'markdown'), array('is_safe' => array('html'))),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue