minor #3437 Add return type for getGlobals() to documentation. The return type is defined in the GlobalsInterface (maartendekeizer)

This PR was merged into the 3.x branch.

Discussion
----------

Add return type for getGlobals() to documentation. The return type is defined in the GlobalsInterface

Commits
-------

904ed22d Add return type for getGlobals() to documentation. The return type is defied in the GlobalsInterface
This commit is contained in:
Fabien Potencier
2020-11-09 14:31:05 +01:00
+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(),