mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 18:36:53 +00:00
Move back Environment::getGlobals() to public/internal
This commit is contained in:
+3
-1
@@ -792,8 +792,10 @@ class Environment
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
private function getGlobals(): array
|
||||
public function getGlobals(): array
|
||||
{
|
||||
if ($this->extensionSet->isInitialized()) {
|
||||
if (null === $this->resolvedGlobals) {
|
||||
|
||||
Reference in New Issue
Block a user