It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Are you sure the usage of $this->handleNullValue($model, $key) targeting Spatie\Enum\Laravel\Casts\Cast::handleNullValue() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.
Are you sure the usage of $this->handleNullValue($model, $key) targeting Spatie\Enum\Laravel\Casts\Cast::handleNullValue() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.
This check looks for function or method calls that always return null and whose return value is used.
The method
getObject()
can return nothing but null, so it makes no sense to use the return value.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.