]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/command/console/class_ConsoleCommandResolver.php
Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / main / resolver / command / console / class_ConsoleCommandResolver.php
index 9f9cdde72d8330b68a5a7a78d41e1a0987e0ccdc..572b9c0ffda1c3e5aedfdbd234bcc08a2c112eef 100644 (file)
@@ -78,7 +78,7 @@ class ConsoleCommandResolver extends BaseCommandResolver implements CommandResol
        public function resolveCommandByRequest (Requestable $requestInstance) {
                // Init variables
                $commandName = '';
-               $commandInstance = null;
+               $commandInstance = NULL;
 
                // This goes fine so let's resolve the command
                $commandName = $requestInstance->getRequestElement('command');
@@ -119,7 +119,7 @@ class ConsoleCommandResolver extends BaseCommandResolver implements CommandResol
         */
        public function resolveCommand ($commandName) {
                // Initiate the instance variable
-               $commandInstance = null;
+               $commandInstance = NULL;
 
                // Is the command empty? Then fall back to default command
                if (empty($commandName)) {
@@ -149,7 +149,7 @@ class ConsoleCommandResolver extends BaseCommandResolver implements CommandResol
         */
        private function loadCommand ($commandName) {
                // Init command instance
-               $commandInstance = null;
+               $commandInstance = NULL;
 
                // Create class name
                $className = $this->getClassPrefix() . $this->convertToClassName($commandName) . 'Command';