Closed jenky closed 10 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
fe40221
) 85.39% compared to head (ad92820
) 85.29%.
Files | Patch % | Lines |
---|---|---|
src/Response.php | 50.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Introduced a try-catch block in the data() method to catch
NotDecodableException
when attempting to decode response data. In such cases, decoding will now default to an empty array instead of throwing an unhandled exception. Moreover, clarified method return types in doc comments foronError
,throw
, andthrowIf
to reflect the genericResponse<T>
type.