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

Replace switch with match #1655

Merged
merged 2 commits into from
Apr 19, 2022
Merged

Replace switch with match #1655

merged 2 commits into from
Apr 19, 2022

Commits on Apr 18, 2022

  1. Replace switch with match

    The `match` expression is available as of PHP 8.0 and provides a more
    intuitive interface than `switch` when a single value is returned.
    
    Note that it performs an identity check (===) between the value and
    case instead of a weak equality check (==).
    
    https://www.php.net/manual/en/control-structures.match.php
    hemberger committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    325b799 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    4e8a21a View commit details
    Browse the repository at this point in the history