mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 12:57:05 +00:00
Remove deprected code
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user