Skip to content

Update ext/tidy parameter names #6283

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
Closed

Conversation

nikic
Copy link
Member

@nikic nikic commented Oct 6, 2020

No description provided.

@@ -2,59 +2,59 @@

/** @generate-function-entries */

function tidy_parse_string(string $input, array|string|null $config_options = null, ?string $encoding = null): tidy|false {}
function tidy_parse_string(string $string, array|string|null $config = null, ?string $encoding = null): tidy|false {}
Copy link
Member Author

Choose a reason for hiding this comment

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

I was a bit unsure about $config vs $options here. I went with $config, because this parameter accepts either a path to a config file, or a config options array.

@php-pulls php-pulls closed this in c11191e Oct 7, 2020
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.

2 participants