]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/resolver/command/html/class_Html
Continued:
[core.git] / framework / main / classes / resolver / command / html / class_Html
index cf4cc1df711632b27c815a10d1e11a0ec3edc8b0..ecd1ff7af5d4cd1387e9384457441389f9b1c69b 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -32,7 +32,7 @@ class Html???CommandResolver extends BaseCommandResolver implements CommandResol
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
@@ -57,7 +57,7 @@ class Html???CommandResolver extends BaseCommandResolver implements CommandResol
                if (empty($commandName)) {
                        // Then thrown an exception here
                        throw new EmptyVariableException(array($resolverInstance, 'commandName'), self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
-               } elseif ($resolverInstance->isCommandValid($commandName) === FALSE) {
+               } elseif ($resolverInstance->isCommandValid($commandName) === false) {
                        // Invalid command found
                        throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
                }
@@ -68,7 +68,5 @@ class Html???CommandResolver extends BaseCommandResolver implements CommandResol
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
-// [EOF]
-?>
+}