fix(optional-policies): resolve null property warnings and improve UX #54
Annotations
5 errors
|
Run PHPStan:
src/Repositories/PolicyRepository.php#L69
Method FoF\Terms\Repositories\PolicyRepository::findOrFail() should return FoF\Terms\Policy but returns Illuminate\Database\Eloquent\Model.
|
Run PHPStan:
src/Repositories/PolicyRepository.php#L85
Access to an undefined property FoF\Terms\Policy::$pivot.
|
Run PHPStan:
src/Repositories/PolicyRepository.php#L89
Access to an undefined property FoF\Terms\Policy::$pivot.
|
Run PHPStan
Process completed with exit code 1.
|
Loading