Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return shape for Throwable::getTrace #7798

Merged
merged 2 commits into from
Mar 18, 2022

Commits on Mar 18, 2022

  1. Add return shape for Throwable::getTrace

    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
    ciaranmcnulty committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    0b39384 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca185d7 View commit details
    Browse the repository at this point in the history