]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php
Renamed variables, removeVariable() does not expect indexes
[core.git] / inc / classes / main / decorator / template / class_XmlRewriterTemplateDecorator.php
index ff33d1caf6bd5e792aff0cf3b988b7739735a93d..e2d0f4c4717b0e8bfcc6cc69ae8838ac64a6baec 100644 (file)
@@ -184,12 +184,12 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
        /**
         * Removes a given variable
         *
-        * @param       $var    The variable we are looking for
+        * @param       $variableName   The variable we are looking for
         * @return      void
         */
-       public final function removeVariable ($var) {
+       public final function removeVariable ($variableName) {
                // Call the inner class' method
-               $this->getTemplateInstance()->removeVariable($var);
+               $this->getTemplateInstance()->removeVariable($variableName);
        }
 
        /**
@@ -217,12 +217,12 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
        /**
         * Assign a given congfiguration variable with a value
         *
-        * @param       $var    The configuration variable we want to assign
+        * @param       $variableName   The configuration variable we want to assign
         * @return      void
         */
-       public function assignConfigVariable ($var) {
+       public function assignConfigVariable ($variableName) {
                // Call the inner class' method
-               $this->getTemplateInstance()->assignConfigVariable($var);
+               $this->getTemplateInstance()->assignConfigVariable($variableName);
        }
 
        /**