mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-05 10:35:13 +00:00
Fix CS
This commit is contained in:
@@ -32,7 +32,7 @@ class ModuleNode extends Node
|
||||
{
|
||||
public function __construct(Node $body, ?AbstractExpression $parent, Node $blocks, Node $macros, Node $traits, $embeddedTemplates, Source $source)
|
||||
{
|
||||
if (__CLASS__ !== \get_class($this)) {
|
||||
if (__CLASS__ !== static::class) {
|
||||
@trigger_error('Overriding '.__CLASS__.' is deprecated since Twig 2.4.0 and the class will be final in 3.0.', E_USER_DEPRECATED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user