phpro / api-problem

RFC7807 Problem details implementation
MIT License
65 stars 8 forks source link

(fix): exception will never be a int #16

Closed lucassabreu closed 3 years ago

lucassabreu commented 3 years ago
Q A
Type bug
BC Break no
Fixed issues

Summary

Status and Status Code will never be other than 500, because the code is trying to assert that a \Throwable is a int

veewee commented 3 years ago

Aw, that's painfull 😅

Thanks for noticing!