Skip to content

Made getValue consistent to setValue. #18

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

Merged
merged 5 commits into from
Feb 12, 2020

Conversation

germanow
Copy link
Contributor

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Tests pass? ✔️
Fixed issues #1

$key = substr($key, $pos + 1);
if (strpos($key, '.') !== false) {
$keys = explode('.', $key);
while (count($keys) != 0) {
Copy link
Member

Choose a reason for hiding this comment

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

Please use the foreach loop

Copy link
Member

Choose a reason for hiding this comment

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

Agree. Would be more readable.

@samdark samdark added the status:code review The pull request needs review. label Feb 11, 2020
@samdark samdark requested a review from a team February 11, 2020 19:48
@samdark samdark merged commit d6df265 into yiisoft:master Feb 12, 2020
@samdark
Copy link
Member

samdark commented Feb 12, 2020

Thanks 👍

@samdark samdark added type:bug Bug and removed status:code review The pull request needs review. labels Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants