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

refactor: to fix psalm error #6999

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Dec 21, 2022

Description

ERROR: TooFewArguments - system/Language/Language.php:255:24 - Too few arguments for array_replace_recursive - expecting array to be passed (see https://psalm.dev/025)
            $strings = array_replace_recursive(...$strings);

https://github.com/codeigniter4/CodeIgniter4/actions/runs/3745997494/jobs/6360957133

See https://www.php.net/manual/en/function.array-replace-recursive.php

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

ERROR: TooFewArguments - system/Language/Language.php:255:24 - Too few arguments for array_replace_recursive - expecting array to be passed (see https://psalm.dev/025)
            $strings = array_replace_recursive(...$strings);
@kenjis kenjis added 4.3 refactor Pull requests that refactor code labels Dec 21, 2022
@kenjis kenjis merged commit 851d8da into codeigniter4:4.3 Dec 22, 2022
@kenjis kenjis deleted the refactor-Language-requireFile branch December 22, 2022 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.3 refactor Pull requests that refactor code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants