Skip to content

Commit 2db4059

Browse files
authored
Merge pull request #323 from bowphp/refactor/code-base
fix: generate notification table command
2 parents c653bb0 + 8999d12 commit 2db4059

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

src/Console/Command.php

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,32 @@
44

55
namespace Bow\Console;
66

7-
use Bow\Console\Command\AppEventCommand;
7+
use ErrorException;
8+
use Bow\Support\Str;
9+
use Bow\Console\Command\ReplCommand;
810
use Bow\Console\Command\ClearCommand;
9-
use Bow\Console\Command\ConfigurationCommand;
11+
use Bow\Console\Command\ModelCommand;
12+
use Bow\Console\Command\SeederCommand;
13+
use Bow\Console\Command\ServerCommand;
14+
use Bow\Console\Command\WorkerCommand;
1015
use Bow\Console\Command\ConsoleCommand;
16+
use Bow\Console\Command\ServiceCommand;
17+
use Bow\Console\Command\AppEventCommand;
18+
use Bow\Console\Command\ProducerCommand;
19+
use Bow\Console\Command\ExceptionCommand;
20+
use Bow\Console\Command\MessagingCommand;
21+
use Bow\Console\Command\MigrationCommand;
1122
use Bow\Console\Command\ControllerCommand;
23+
use Bow\Console\Command\MiddlewareCommand;
24+
use Bow\Console\Command\ValidationCommand;
25+
use Bow\Console\Command\GenerateKeyCommand;
26+
use Bow\Console\Command\ConfigurationCommand;
1227
use Bow\Console\Command\EventListenerCommand;
13-
use Bow\Console\Command\ExceptionCommand;
1428
use Bow\Console\Command\GenerateCacheCommand;
15-
use Bow\Console\Command\GenerateKeyCommand;
1629
use Bow\Console\Command\GenerateQueueCommand;
17-
use Bow\Console\Command\GenerateResourceControllerCommand;
1830
use Bow\Console\Command\GenerateSessionCommand;
19-
use Bow\Console\Command\MessagingCommand;
20-
use Bow\Console\Command\MiddlewareCommand;
21-
use Bow\Console\Command\MigrationCommand;
22-
use Bow\Console\Command\ModelCommand;
23-
use Bow\Console\Command\ProducerCommand;
24-
use Bow\Console\Command\ReplCommand;
25-
use Bow\Console\Command\SeederCommand;
26-
use Bow\Console\Command\ServerCommand;
27-
use Bow\Console\Command\ServiceCommand;
28-
use Bow\Console\Command\ValidationCommand;
29-
use Bow\Console\Command\WorkerCommand;
30-
use Bow\Support\Str;
31-
use ErrorException;
31+
use Bow\Console\Command\GenerateNotificationCommand;
32+
use Bow\Console\Command\GenerateResourceControllerCommand;
3233

3334
class Command extends AbstractCommand
3435
{
@@ -63,7 +64,7 @@ class Command extends AbstractCommand
6364
"session-table" => GenerateSessionCommand::class,
6465
"queue-table" => GenerateQueueCommand::class,
6566
"cache-table" => GenerateCacheCommand::class,
66-
"notification-table" => GenerateCacheCommand::class,
67+
"notification-table" => GenerateNotificationCommand::class,
6768
],
6869
"runner" => [
6970
"console" => ReplCommand::class,

0 commit comments

Comments
 (0)