* @throws InvalidArgumentException Thrown if default command is not set
* @throws InvalidCommandException Thrown if default command is invalid
*/
- public static final function createHtmlCommandResolver ($commandName) {
+ public static final function createHtmlCommandResolver (string $commandName) {
// Create the new instance
$resolverInstance = new HtmlCommandResolver();
throw new InvalidArgumentException('Parameter "commandName" is empty');
} elseif ($resolverInstance->isCommandValid($commandName) === false) {
// Invalid command found
+ // @TODO Missing namespace!
throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
}