Skip to content

Commit d8b6e2b

Browse files
committed
Fix error on Version.
1 parent ce26c12 commit d8b6e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CLI/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private function printVersion(): void
9595
{
9696
printf(
9797
'phpcpd %s by Sebastian Bergmann.' . PHP_EOL,
98-
(new Version(self::VERSION, dirname(__DIR__)))->getVersion()
98+
(new Version(self::VERSION, dirname(__DIR__)))->asString()
9999
);
100100
}
101101

0 commit comments

Comments
 (0)