Closed VGirol closed 2 months ago
When using the Laravel\Nova\Fields\Tag::make() method, Phpstan (with Larastan) throws this error :
Parameter #3 $resolveCallback of static method Laravel\Nova\Fields\Field::make() expects (callable(): mixed)|null, 'App\Domain\Users\Nova\Academy' given.
By adding this phpdoc on top of the Laravel\Nova\Fields\Tag class, the error disappears :
/**
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description:
When using the Laravel\Nova\Fields\Tag::make() method, Phpstan (with Larastan) throws this error :
Parameter #3 $resolveCallback of static method Laravel\Nova\Fields\Field::make() expects (callable(): mixed)|null, 'App\Domain\Users\Nova\Academy' given.
By adding this phpdoc on top of the Laravel\Nova\Fields\Tag class, the error disappears :
/**
Detailed steps to reproduce the issue on a fresh Nova installation: