Issue #2176397 by carsato, InternetDevels: Drupal\Core\Template\TwigTemplate::getContextReference is final.

8.0.x
webchick 2014-01-23 22:12:28 -08:00
parent f9bb7739c3
commit 22e7f87c46
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ abstract class TwigTemplate extends \Twig_Template {
* @return mixed
* The requested variable.
*/
final protected function getContextReference(&$context, $item)
{
protected function getContextReference(&$context, $item) {
// Optimized version. NULL is a valid value for $context[$item], we only
// want to error if it hasn't been defined at all.
if (!isset($context[$item]) && !array_key_exists($item, $context)) {