Skip to content

Commit f00f21f

Browse files
minor #28673 [CS] Use combined assignment operators when possible (carusogabriel)
This PR was merged into the 2.8 branch. Discussion ---------- [CS] Use combined assignment operators when possible | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | - <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | - <!-- required for new features --> Less opcodes for us 😄 Commits ------- c561e99394 [CS] Use combined assignment operators when possible
2 parents 796a793 + 442ff49 commit f00f21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Input/InputDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function getSynopsis($short = false)
390390
if (!$argument->isRequired()) {
391391
$element = '['.$element.']';
392392
} elseif ($argument->isArray()) {
393-
$element = $element.' ('.$element.')';
393+
$element .= ' ('.$element.')';
394394
}
395395

396396
if ($argument->isArray()) {

0 commit comments

Comments
 (0)