From 6cee6eaf418d83e12c3320db8f7666bc6302eb65 Mon Sep 17 00:00:00 2001
From: mmorris <mmorris@tombras.com>
Date: Thu, 23 Jul 2015 05:36:12 -0400
Subject: [PATCH] code standards - scope must be explicitly declared.

---
 core/lib/Drupal/Core/Template/TwigNodeVisitor.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/lib/Drupal/Core/Template/TwigNodeVisitor.php b/core/lib/Drupal/Core/Template/TwigNodeVisitor.php
index a08ec2d..ac1e676 100644
--- a/core/lib/Drupal/Core/Template/TwigNodeVisitor.php
+++ b/core/lib/Drupal/Core/Template/TwigNodeVisitor.php
@@ -21,14 +21,14 @@ class TwigNodeVisitor implements \Twig_NodeVisitorInterface {
   /**
    * {@inheritdoc}
    */
-  function enterNode(\Twig_NodeInterface $node, \Twig_Environment $env) {
+  public function enterNode(\Twig_NodeInterface $node, \Twig_Environment $env) {
     return $node;
   }
 
   /**
    * {@inheritdoc}
    */
-  function leaveNode(\Twig_NodeInterface $node, \Twig_Environment $env) {
+  public function leaveNode(\Twig_NodeInterface $node, \Twig_Environment $env) {
     // We use this to inject a call to render_var -> TwigExtension->renderVar()
     // before anything is printed.
     if ($node instanceof \Twig_Node_Print) {
@@ -62,7 +62,7 @@ function leaveNode(\Twig_NodeInterface $node, \Twig_Environment $env) {
   /**
    * {@inheritdoc}
    */
-  function getPriority() {
+  public function getPriority() {
     // Just above the Optimizer, which is the normal last one.
     return 256;
   }
-- 
1.8.4.2

