]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/resolver/command/class_BaseCommandResolver.php
Continued:
[core.git] / framework / main / classes / resolver / command / class_BaseCommandResolver.php
index 9d5177aa4575fe5eb5c4b5e3bc1c55c52d86f84b..8287891f8b113c14f2107c707447b5a2adce4897 100644 (file)
@@ -103,7 +103,7 @@ abstract class BaseCommandResolver extends BaseResolver {
                }
 
                // Initiate the command
-               $commandInstance = ObjectFactory::createObjectByName($this->getClassName(), array($this));
+               $commandInstance = ObjectFactory::createObjectByName($this->getClassName(), [$this]);
 
                // Return the result
                return $commandInstance;