Skip to content

Commit

Permalink
Fix error typo in Yii console script. (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw authored Dec 8, 2023
1 parent 27744a5 commit ec2aa67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yii
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ $config = new Config(
paramsGroup: 'params-console',
);

$container = Yii::$container->setSingleton(Application::class, $config->get('comsole'));
$container = Yii::$container->setSingleton(Application::class, $config->get('console'));
$app = Yii::$container->get(Application::class);
$exitCode = $application->run();
$exitCode = $app->run();

exit($exitCode);

0 comments on commit ec2aa67

Please sign in to comment.