Skip to content

Commit

Permalink
Fix: Wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Feb 24, 2023
1 parent 4fcb0e6 commit 59080e1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Vendor/Composer/VersionConstraintNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,18 @@ private static function sortOrConstraints(string $versionConstraint): string

\usort($andConstraints, $sort);

return \implode(' ', $andConstraints);
return \implode(
' ',
$andConstraints,
);
}, $orConstraints);

\usort($orConstraints, $sort);

return \implode(' || ', $orConstraints);
return \implode(
' || ',
$orConstraints,
);
}

/**
Expand Down

0 comments on commit 59080e1

Please sign in to comment.