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

ArgType 'String' is not valid in MessageFormatter class (fixes #3191) #3192

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

HughieW
Copy link
Contributor

@HughieW HughieW commented Jul 1, 2020

First noticed when sending an email using the Email class, a few of the language strings in System/Language/en/*.php use an argtype of "string" which isn't valid in the PHP MessageFormatter class. This causes an error to be logged, or in a production environment, an error to be shown and the script halted. Removing this argType (leaving it undefined) fixes this completely.

There was also a typo in System/Language/en/Images.php in the same place (closing bracket instead of a closing brace) which I fixed at the same time.

@michalsn michalsn merged commit 63d715b into codeigniter4:develop Jul 1, 2020
@michalsn
Copy link
Member

michalsn commented Jul 1, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants