]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/criteria/class_BaseCriteria.php
Continued:
[core.git] / framework / main / classes / criteria / class_BaseCriteria.php
index 9331121ce29431f00ba316ab51dc2f5df7e53b78..de4cd3ee278b09bcbc1adc0650e533ab46db6800 100644 (file)
@@ -50,7 +50,7 @@ abstract class BaseCriteria extends BaseFrameworkSystem implements Criteria {
                foreach (array('default', 'choice', 'exclude') as $criteriaType) {
                        // Init it
                        $this->initGenericArrayKey('criteria', $criteriaType, 'entries');
-               } // END - foreach
+               }
        }
 
        /**
@@ -169,7 +169,7 @@ abstract class BaseCriteria extends BaseFrameworkSystem implements Criteria {
                foreach ($this->getGenericArray('criteria') as $criteriaType => $dummy) {
                        // Remove it
                        $this->unsetGenericArrayElement('criteria', $criteriaType, 'entries', $criteriaKey);
-               } // END - foreach
+               }
        }
 
        /**
@@ -353,8 +353,8 @@ abstract class BaseCriteria extends BaseFrameworkSystem implements Criteria {
                                        // Then count this one up
                                        $counted++;
                                }
-                       } // END - foreach
-               } // END - foreach
+                       }
+               }
 
                // Now check if expected criteria counts match
                $matches = ($counted == $this->countGenericArrayGroup('criteria', $criteriaType));
@@ -421,7 +421,7 @@ abstract class BaseCriteria extends BaseFrameworkSystem implements Criteria {
                                        urlencode($criteriaValue)
                                );
                        }
-               } // END - foreach
+               }
 
                // Remove last semicolon
                $cacheKey = substr($cacheKey, 0, -1);