]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/resolver/state/class_BaseStateResolver.php
Made lower to upper case:
[hub.git] / application / hub / main / resolver / state / class_BaseStateResolver.php
index 97995e271897923f86193bb62189f847b4b023d6..6ce89ebc3998a0e232ac05f5ba0a3a9867a5a4ab 100644 (file)
@@ -127,7 +127,7 @@ class BaseStateResolver extends BaseResolver {
         */
        public function isStateValid ($stateName) {
                // By default nothing shall be valid
-               $isValid = false;
+               $isValid = FALSE;
 
                // Is a state set?
                if (empty($stateName)) {
@@ -142,11 +142,11 @@ class BaseStateResolver extends BaseResolver {
                $this->setClassName($className);
 
                // Try it hard to get an state
-               while ($isValid === false) {
+               while ($isValid === FALSE) {
                        // Is this class already loaded?
                        if (class_exists($this->getClassName())) {
                                // This class does exist. :-)
-                               $isValid = true;
+                               $isValid = TRUE;
                        } elseif ($this->getClassName() != $this->statePrefix . 'DefaultState') {
                                // Set default state
                                $this->setClassName($this->statePrefix . 'DefaultState');