Skip to content

Commit

Permalink
Since InstalledVersions changed API completely in `composer-plugin-…
Browse files Browse the repository at this point in the history
…api:^2.1.0`, we need to cast results to `(string)`
  • Loading branch information
Ocramius committed Jun 9, 2021
1 parent 8324608 commit b598df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProxyManager/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private function __construct()
*/
public static function getVersion(): string
{
return InstalledVersions::getPrettyVersion('ocramius/proxy-manager')
. '@' . InstalledVersions::getReference('ocramius/proxy-manager');
return (string) InstalledVersions::getPrettyVersion('ocramius/proxy-manager')
. '@' . (string) InstalledVersions::getReference('ocramius/proxy-manager');
}
}

0 comments on commit b598df5

Please sign in to comment.