hotmeteor / receiver

Receiver is a drop-in webhook handling library for Laravel.
MIT License
384 stars 21 forks source link

Set type for generator command. #20

Closed garret-gunter closed 1 year ago

garret-gunter commented 1 year ago

Laravel's \Illuminate\Console\GeneratorCommand calls strtolower on $this->type when Artisan requests the commands arguments. If $type is null, then a deprecation warning is emitted. This pull request resolves that by setting GenerateReceiver::$type to 'Receiver'.

hotmeteor commented 1 year ago

@garret-gunter Thanks!

garret-gunter commented 1 year ago

Thanks for the quick response. That was really fast.