Some minor improvements
authorRoland Häder <roland@mxchange.org>
Tue, 15 May 2012 19:26:16 +0000 (19:26 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 15 May 2012 19:26:16 +0000 (19:26 +0000)
inc/classes/main/registry/class_BaseRegistry.php
inc/classes/main/template/class_BaseTemplateEngine.php

index 73c60cf..be8f8d6 100644 (file)
@@ -130,14 +130,14 @@ class BaseRegistry extends BaseFrameworkSystem implements Registerable {
                $entry = array();
 
                // "Walk" over all entries
-               foreach ($this->getEntries('object-name') as $key=>$value) {
+               foreach ($this->getEntries('object-name') as $key => $value) {
                        // Debug message
                        //* DEBUG: */ $this->debugOutput('REGISTRY: Checking key=' . $key . ',value=' . $value . ',lookFor=' . $lookFor);
 
                        // If $value matches the $lookFor, we need to look for more entries for this!
                        if ($lookFor == $value) {
                                // Look for more entries
-                               foreach ($this->getEntries() as $key2=>$value2) {
+                               foreach ($this->getEntries() as $key2 => $value2) {
                                        // Debug message
                                        //* DEBUG: */ $this->debugOutput('REGISTRY: Checking key2=' . $key2 . ',value2=' . print_r($value2, true) . ',lookFor=' . $lookFor);
 
index f58a15a..16e5018 100644 (file)
@@ -1146,7 +1146,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                } // END - if
 
                // Iterate through all general variables
-               foreach ($this->getVarStack('general') as $index=>$currVariable) {
+               foreach ($this->getVarStack('general') as $index => $currVariable) {
                        // Compile the value
                        $value = $this->compileRawCode($this->readVariable($currVariable['name']), true);