X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Ftwig%2Ftwig%2Flib%2FTwig%2FProfiler%2FNodeVisitor%2FProfiler.php;fp=vendor%2Ftwig%2Ftwig%2Flib%2FTwig%2FProfiler%2FNodeVisitor%2FProfiler.php;h=5db41fea756d16ff2fc31221e3113d03e91832fd;hp=45253c7e643b8d9be6f9aa6cd47bc76bcf7f78f2;hb=5e458ff8cb4924fd5fa03b80d8edfcc52fe43479;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5 diff --git a/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php b/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php index 45253c7e6..5db41fea7 100644 --- a/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php +++ b/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php @@ -55,7 +55,7 @@ class Twig_Profiler_NodeVisitor_Profiler extends Twig_BaseNodeVisitor private function getVarName() { - return sprintf('__internal_%s', hash('sha256', __METHOD__)); + return sprintf('__internal_%s', hash('sha256', $this->extensionName)); } public function getPriority()