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

Use array shapes where appropriate #10513

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Commits on Feb 9, 2023

  1. Use array shapes where appropriate

    Working on converting these array shapes to DTO allowed me to find every
    signature where they are supposed to be used.
    
    The Psalm baseline gets worse because it considers accessing an array
    key differently depending on whether it is defined vaguely, as
    array<string, mixed>, or precisely, as array{my-key?: string}.
    greg0ire committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    ae6de13 View commit details
    Browse the repository at this point in the history