This PR was merged into the 1.x branch.
Discussion
----------
fix wrong __CLASS__ constant
Commits
-------
d816d46 fix wrong __CLASS__ constant
... | ... |
@@ -675,7 +675,7 @@ abstract class Twig_Template implements Twig_TemplateInterface |
675 | 675 |
|
676 | 676 |
// @deprecated in 1.28 |
677 | 677 |
if ($object instanceof Twig_TemplateInterface) { |
678 |
- @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); |
|
678 |
+ @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); |
|
679 | 679 |
|
680 | 680 |
return $ret === '' ? '' : new Twig_Markup($ret, $this->env->getCharset()); |
681 | 681 |
} |