Skip to content

Commit

Permalink
Allow aliases to be run directly
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Mar 18, 2024
1 parent 214f8b4 commit eb8ce2d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/Console/CacheTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Illuminate\Console\MigrationGeneratorCommand;
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'make:cache-table')]
#[AsCommand(name: 'make:cache-table', aliases: ['cache:table'])]
class CacheTableCommand extends MigrationGeneratorCommand
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Illuminate\Console\MigrationGeneratorCommand;
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'make:notifications-table')]
#[AsCommand(name: 'make:notifications-table', aliases: ['notifications:table'])]
class NotificationTableCommand extends MigrationGeneratorCommand
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/BatchesTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use function Illuminate\Filesystem\join_paths;

#[AsCommand(name: 'make:queue-batches-table')]
#[AsCommand(name: 'make:queue-batches-table', aliases: ['queue:batches-table'])]
class BatchesTableCommand extends MigrationGeneratorCommand
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/FailedTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use function Illuminate\Filesystem\join_paths;

#[AsCommand(name: 'make:queue-failed-table')]
#[AsCommand(name: 'make:queue-failed-table', aliases: ['queue:failed-table'])]
class FailedTableCommand extends MigrationGeneratorCommand
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/TableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use function Illuminate\Filesystem\join_paths;

#[AsCommand(name: 'make:queue-table')]
#[AsCommand(name: 'make:queue-table', aliases: ['queue:table'])]
class TableCommand extends MigrationGeneratorCommand
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Session/Console/SessionTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use function Illuminate\Filesystem\join_paths;

#[AsCommand(name: 'make:session-table')]
#[AsCommand(name: 'make:session-table', aliases: ['session:table'])]
class SessionTableCommand extends MigrationGeneratorCommand
{
/**
Expand Down

0 comments on commit eb8ce2d

Please sign in to comment.