I have this package which registers a macro on the Schedule class which return an instance of Illuminate\Console\Scheduling\Event but when running Generate Helper Code the generated macro code says that the queueCommand method returns void.
I tried adding a return type of Event to the closure but this does not seem to solve it. Is there a way to do it with the ide.json?
Bug description
I have this package which registers a macro on the Schedule class which return an instance of
Illuminate\Console\Scheduling\Event
but when runningGenerate Helper Code
the generated macro code says that thequeueCommand
method returns void.I tried adding a return type of
Event
to the closure but this does not seem to solve it. Is there a way to do it with theide.json
?Source: https://github.com/fidum/laravel-schedule-queue-command/blob/main/src/LaravelScheduleQueueCommandServiceProvider.php
Code:
app/Concosle/Kernel.php
Plugin version
6.2.2.223
Operating system
MacOS
Steps to reproduce
No response
Relevant log output
No response