mixed pseudoclass type hints are only supported from PHP 8
Seems like 4.26 introduced these with \Laravel\Nova\Fields\Field::fillModelWithData
Causes the following error
Argument 1 passed to Laravel\Nova\Fields\Field::fillModelWithData() must be an instance of Laravel\Nova\Fields\mixed, instance of Illuminate\Database\Eloquent\Relations\Pivot given, called in /var/www/vendor/laravel/nova/src/Fields/Field.php on line 475
Detailed steps to reproduce the issue on a fresh Nova installation:
Noticed it while trying to attach a pivot resource. Not sure it needs reproducing, the mixed typehints just need to be removed as they're not supported in ^7.3 (php versions supported in composer.json)
Description:
mixed pseudoclass type hints are only supported from PHP 8
Seems like 4.26 introduced these with \Laravel\Nova\Fields\Field::fillModelWithData
Causes the following error
Detailed steps to reproduce the issue on a fresh Nova installation:
Noticed it while trying to attach a pivot resource. Not sure it needs reproducing, the mixed typehints just need to be removed as they're not supported in ^7.3 (php versions supported in composer.json)