Skip to content

Commit

Permalink
Add return shape for Throwable::getTrace
Browse files Browse the repository at this point in the history
This is based on the documentation for debug-backtrace:
   https://php.net/debug_backtrace

Experimentation that shows the `object` field is not populated for exceptions:
   https://3v4l.org/iQoni

And validation on psalm.dev:
   https://psalm.dev/r/b35a8df2f3
  • Loading branch information
ciaranmcnulty committed Mar 17, 2022
1 parent a9f4148 commit defdb77
Showing 1 changed file with 42 additions and 42 deletions.

0 comments on commit defdb77

Please sign in to comment.