Open
Description
In laravel 10, I think Jobs now respond with Illuminate\Foundation\Bus\PendingDispatch
objects rather than the response of what the handle method has.
In feature:
$this->run(GenerateUUIDJob::class);
now responds with
Illuminate\Foundation\Bus\PendingDispatch^ {#9196 // app/Models/Traits/HasUuid.php:36
#job: App\Domains\Uid\Jobs\GenerateUUIDJob^ {#9197}
#afterResponse: false
}
instead of the response of what the handle method does:
class GenerateUUIDJob extends Job
{
public function __construct()
{
}
public function handle(): string
{
return Str::orderedUuid();
}
}
Metadata
Metadata
Assignees
Labels
No labels