mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 10:26:32 +00:00
fix wrong __CLASS__ constant
This commit is contained in:
@@ -675,7 +675,7 @@ abstract class Twig_Template implements Twig_TemplateInterface
|
||||
|
||||
// @deprecated in 1.28
|
||||
if ($object instanceof Twig_TemplateInterface) {
|
||||
@trigger_error('Using the dot notation on an instance of '.__CLASS.' is deprecated since version 1.28 and won\'t be supported anymore in 2.0.', E_USER_DEPRECATED);
|
||||
@trigger_error('Using the dot notation on an instance of '.__CLASS__.' is deprecated since version 1.28 and won\'t be supported anymore in 2.0.', E_USER_DEPRECATED);
|
||||
|
||||
return $ret === '' ? '' : new Twig_Markup($ret, $this->env->getCharset());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user