X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresolver%2Fcommand%2Fclass_BaseCommandResolver.php;h=7321c4227bedbe9febf403fad3d6963115d88982;hp=02d09ccd324725b600e5c90fd44e6cba8f798de3;hb=f5cf5211620c1813c76d8231819b63a585fb2689;hpb=c6d8f7eb4020504335a62e07a8ead8d40868cde7 diff --git a/inc/classes/main/resolver/command/class_BaseCommandResolver.php b/inc/classes/main/resolver/command/class_BaseCommandResolver.php index 02d09ccd..7321c422 100644 --- a/inc/classes/main/resolver/command/class_BaseCommandResolver.php +++ b/inc/classes/main/resolver/command/class_BaseCommandResolver.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -58,15 +58,15 @@ class BaseCommandResolver extends BaseResolver { } /** - * Checks wether the given command is valid + * Checks whether the given command is valid * * @param $commandName The default command we shall execute - * @return $isValid Wether the given command is valid + * @return $isValid Whether the given command is valid * @throws EmptyVariableException Thrown if given command is not set */ public function isCommandValid ($commandName) { // By default nothing shall be valid - $isValid = false; + $isValid = FALSE; // Is a command set? if (empty($commandName)) { @@ -83,7 +83,7 @@ class BaseCommandResolver extends BaseResolver { // Is this class already loaded? if (class_exists($this->getClassName())) { // This class does exist. :-) - $isValid = true; + $isValid = TRUE; } // END - if // Set command name