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);
}
if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
// Check if the command is valid
- if ($this->isCommandValid($commandName) === false) {
+ if ($this->isCommandValid($commandName) === FALSE) {
// This command is invalid!
throw new InvalidCommandException(array($this, $commandName), self::EXCEPTION_INVALID_COMMAND);
} // END - if
if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
// Check if the command is valid
- if ($this->isCommandValid($commandName) === false) {
+ if ($this->isCommandValid($commandName) === FALSE) {
// This command is invalid!
throw new InvalidCommandException(array($this, $commandName), self::EXCEPTION_INVALID_COMMAND);
}