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

fix "deprecated" message #1430

Merged
merged 1 commit into from
Jan 24, 2024

Commits on Jan 12, 2024

  1. fix "deprecated" message

    An optional method argument should not be followed by required argument.
    There's no need to specify a default value for `$result` as the empty
    array `[]` is provided as initial value for `array_reduce()` already.
    
    ```
    PHP Deprecated:  Optional parameter $result declared before required parameter $contributor is implicitly treated as a required parameter in podlove-podcasting-plugin-for-wordpress/lib/modules/contributors/rest_api.php on line 76
    ```
    mjaschen committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    fdc738b View commit details
    Browse the repository at this point in the history