Skip to content

Commit b598df5

Browse files
committed
Since InstalledVersions changed API completely in composer-plugin-api:^2.1.0, we need to cast results to (string)
1 parent 8324608 commit b598df5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ProxyManager/Version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private function __construct()
3434
*/
3535
public static function getVersion(): string
3636
{
37-
return InstalledVersions::getPrettyVersion('ocramius/proxy-manager')
38-
. '@' . InstalledVersions::getReference('ocramius/proxy-manager');
37+
return (string) InstalledVersions::getPrettyVersion('ocramius/proxy-manager')
38+
. '@' . (string) InstalledVersions::getReference('ocramius/proxy-manager');
3939
}
4040
}

0 commit comments

Comments
 (0)