Skip to content

Commit

Permalink
Fix all new types of gen entity #1170
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Nov 6, 2023
1 parent 6869cb1 commit 25b295b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Core/Provider/ConsoleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public function __construct(protected ConsoleApplication $app)
*/
public function register(Container $container): void
{
if (ConsoleApplication::class !== $this->app::class) {
$container->alias(ConsoleApplication::class, $this->app::class);
}

$container->mergeParameters(
'commands',
require __DIR__ . '/../../../resources/registry/commands.php'
Expand Down

0 comments on commit 25b295b

Please sign in to comment.