laravel-clickup
laravel-clickup copied to clipboard
Laravel 11: incompatible $builder property
Is this package compatible with Laravel 11? I'm receiving a fatal error for an incompatible $builder property defined in my User model.
PHP Fatal error: Illuminate\Database\Eloquent\Model and Spinen\ClickUp\Concerns\HasClickUp define the same property ($builder) in the composition of App\Models\User. However, the definition differs and is considered incompatible.
The HasClickUp trait defines:
protected ?Builder $builder = null;..
But the Eloquent Model defines:
protected static string $builder = Builder::class;...
Any clarity on what to do here would be much appreciated.