Skip to content

Commit 75854c9

Browse files
Inline object
1 parent 2a82a03 commit 75854c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Version.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ final class Version
2121
public static function id(): string
2222
{
2323
if (self::$version === null) {
24-
$version = new VersionId('9.0', \dirname(__DIR__));
25-
self::$version = $version->getVersion();
24+
self::$version = (new VersionId('9.0', \dirname(__DIR__)))->getVersion();
2625
}
2726

2827
return self::$version;

0 commit comments

Comments
 (0)