The doc-type array<Twig_SimpleFunction) could not be parsed: Expected ">" at position 3, but found ")". (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see
which comment annotations we can parse, please refer to our documentation on
supported doc-types.
Loading history...
41
*/
42
1
public function getFunctions() : array
43
{
44
return [
45
1
new Twig_SimpleFunction('defined', array($this, 'isDefined')),
46
1
new Twig_SimpleFunction('getStat', array($this, 'getStat')),
47
];
48
}
49
50
/**
51
* Checks if a file exists on the view path.
52
*
53
* @param string $fileName
54
* @return bool
55
*/
56
public function isDefined(string $fileName) : bool
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.