diff --git a/src/Console/Commands/PublishStubsCommand.php b/src/Console/Commands/PublishStubsCommand.php index 74862f3..a1b8645 100644 --- a/src/Console/Commands/PublishStubsCommand.php +++ b/src/Console/Commands/PublishStubsCommand.php @@ -10,6 +10,18 @@ #[AsCommand(name: 'dto:stubs')] final class PublishStubsCommand extends Command { + /** + * @var string + */ + protected $name = 'dto:stubs'; + + /** + * @var string|null + * + * @deprecated + */ + protected static $defaultName = 'dto:stubs'; + /** * The name and signature of the console command. *