Move back Environment::getGlobals() to public/internal

This commit is contained in:
Fabien Potencier
2024-09-02 17:23:35 +02:00
parent b7ded5c569
commit ebb66610c9
+3 -1
View File
@@ -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) {