Skip to content

Commit 1fbdeb2

Browse files
#54 Fix version display showing extra .0 suffix (#55)
1 parent 7ff394a commit 1fbdeb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/DiscoToolbarService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private function getVersion(): string
183183
{
184184
$version = null;
185185
try {
186-
$version = InstalledVersions::getVersion('marcin-orlowski/disco-toolbar-symfony');
186+
$version = InstalledVersions::getPrettyVersion('marcin-orlowski/disco-toolbar-symfony');
187187
} catch (\Exception) {
188188
// do nothing
189189
}

0 commit comments

Comments
 (0)