-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I came across a type error issue that may have been triggered from an updated Laravel version.
php artisan operations:show
ERROR TimoKoerber\LaravelOneTimeOperations\Commands\Utils\OperationsLineElement::make(): Argument #3 ($processedAt) must be of type ?Illuminate\Support\Carbon, Carbon\CarbonImmutable given, called in vendor/timokoerber/laravel-one-time-operations/src/Commands/OneTimeOperationShowCommand.php on line 95.
I was able to get this error to go away and show/process operations by updating the OperationsLineElement.php
file and changing this:
use Illuminate\Support\Carbon;
To this:
use Carbon\CarbonImmutable as Carbon;
Please consider this (or similar) update. Thank you!
Metadata
Metadata
Assignees
Labels
No labels