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

[REF] very minor tidy up #15756

Merged
merged 1 commit into from
Nov 12, 2019
Merged

[REF] very minor tidy up #15756

merged 1 commit into from
Nov 12, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

This just brings the 3 lines that built this 'array within an array' together & makes them a little more
readable

Before

Code confusing

After

Still confusing

Technical Details

Comments

@civibot
Copy link

civibot bot commented Nov 7, 2019

(Standard links)

@civibot civibot bot added the master label Nov 7, 2019
$rows["move_$field"] = [
'main' => self::getFieldValueAndLabel($field, $main)['label'],
'other' => self::getFieldValueAndLabel($field, $other)['label'],
'title' => $fields[$field]['title']
Copy link
Contributor

Choose a reason for hiding this comment

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

@eileenmcnaughton A comma should follow the last multiline array item.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dang!

This just brings the 3 lines that built this 'array within an array' together & makes them a little more
readable
@yashodha
Copy link
Contributor

@eileenmcnaughton merging this

@yashodha yashodha merged commit 2cfdd8e into civicrm:master Nov 12, 2019
@eileenmcnaughton
Copy link
Contributor Author

thanks!

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.

2 participants