Skip to content
Snippets Groups Projects
Commit 4fdd7ab9 authored by iseed's avatar iseed Committed by iseed
Browse files

fix command parameters

parent 92cd1cc2
No related branches found
Tags 1.1.9
No related merge requests found
......@@ -27,7 +27,7 @@ class CacheFlushEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->yiiFlushCache($this->getArguments());
}
......
......@@ -27,7 +27,7 @@ class ComposerUpdateEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->composer($this->getArguments());
}
......
......@@ -27,7 +27,7 @@ class GulpUpdateEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->gulp($this->getArguments());
}
......
......@@ -27,7 +27,7 @@ class MigrateEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->yiiMigrate($this->getArguments());
}
......
......@@ -27,7 +27,7 @@ class NodeUpdateEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->npm($this->getArguments());
}
......
......@@ -27,7 +27,7 @@ class RbacUpdateEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->yii($this->getArguments());
}
......
......@@ -27,7 +27,7 @@ class RedisDropEventHandler extends BaseEventHandler
*/
public function handle(array $changeFiles): ?string
{
$command = CommandHelper::make();
$command = CommandHelper::make([$this->getParameters()]);
return $command->yiiConsoleRedis($this->getArguments());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment