Skip to content

Standardize mbstring and string on using 'string' as a parameter name. #6171

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

Closed
wants to merge 1 commit into from

Conversation

Crell
Copy link
Contributor

@Crell Crell commented Sep 20, 2020

The string functions were already using $string, so I just changed mbstring to use the same.


function mb_convert_encoding(array|string $str, string $to, array|string|null $from = null): array|string|false {}
function mb_convert_encoding(array|string $string, string $to, array|string|null $from = null): array|string|false {}

function mb_convert_case(string $source_string, int $mode, ?string $encoding = null): string {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're here, change these $source_strings as well?

@php-pulls php-pulls closed this in 94854e0 Sep 21, 2020
@Crell Crell deleted the mbstring-params branch September 26, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants