We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7b5f3 commit c070bdcCopy full SHA for c070bdc
src/Package.php
@@ -52,7 +52,7 @@ public function getVersion(bool $prettyPrint = false): string
52
53
if (
54
\strlen($reference) >= self::HASH_LENGTH
55
- && (\str_starts_with($version, 'dev-') || (\str_ends_with($version, '-dev')))
+ && (\str_starts_with($version, 'dev-') || \str_ends_with($version, '-dev'))
56
) {
57
$version = \substr($reference, 0, self::HASH_LENGTH);
58
if ($prettyPrint) {
0 commit comments