Skip to content

Commit c070bdc

Browse files
authored
style(package): Remove redundant parentheses (#41)
1 parent 6c7b5f3 commit c070bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function getVersion(bool $prettyPrint = false): string
5252

5353
if (
5454
\strlen($reference) >= self::HASH_LENGTH
55-
&& (\str_starts_with($version, 'dev-') || (\str_ends_with($version, '-dev')))
55+
&& (\str_starts_with($version, 'dev-') || \str_ends_with($version, '-dev'))
5656
) {
5757
$version = \substr($reference, 0, self::HASH_LENGTH);
5858
if ($prettyPrint) {

0 commit comments

Comments
 (0)