Add return type for getGlobals() to documentation. The return type is

defied in the GlobalsInterface
This commit is contained in:
Maarten de Keizer
2020-11-06 10:59:01 +01:00
parent e7a4b69e95
commit 904ed22daa
+1 -1
View File
@@ -647,7 +647,7 @@ method::
class Project_Twig_Extension extends \Twig\Extension\AbstractExtension implements \Twig\Extension\GlobalsInterface
{
public function getGlobals()
public function getGlobals(): array
{
return [
'text' => new Text(),