]> git.mxchange.org Git - core.git/commitdiff
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 73c60cf34c2044015687beb307498c1cbb9e0af9..be8f8d63b68d770adabc177ff2328bd77465404d 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 f58a15a1c0a496069e9cb46e3aae6c777402fc68..16e50187151acb5193d61320de96ffb5a85712e6 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);