Skip to content

[Tests-Only] Explicitly specify empty glue in implode calls - #37375

Merged
phil-davis merged 1 commit into
masterfrom
implode-glue-20200512
May 12, 2020
Merged

phil-davis merged 1 commit into
masterfrom
implode-glue-20200512

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

Description

The implode function can take just 1 parameter (the array to implode) and the glue defaults to the empty string. But to be consistent and make the code clearer, always specify the empty string when it is the glue.

Related Issue

Suggested in issue comment #36509 (comment)

How Has This Been Tested?

CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@phil-davis
phil-davis merged commit f1dfb39 into master May 12, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the implode-glue-20200512 branch May 12, 2020 05:47
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