Remove deprected code

This commit is contained in:
Fabien Potencier
2024-09-07 17:04:32 +02:00
parent e628201ae1
commit d4a8ec7fe6
-10
View File
@@ -808,16 +808,6 @@ class Environment
return array_merge($this->extensionSet->getGlobals(), $this->globals);
}
/**
* @deprecated since Twig 3.13
*/
public function mergeGlobals(array $context): array
{
trigger_deprecation('twig/twig', '3.13', 'The "%s" method is deprecated.', __METHOD__);
return $context + $this->getGlobals();
}
/**
* @internal
*