Skip to content
Snippets Groups Projects
Unverified Commit ce8f23b9 authored by Sebastian Bergmann's avatar Sebastian Bergmann
Browse files

Sync with API change in sebastian/version

parent 8104d0fb
No related branches found
No related tags found
No related merge requests found
......@@ -11,4 +11,4 @@ $end = \strpos($buffer, '\'', $start);
$version = \substr($buffer, $start, $end - $start);
$version = new Version($version, __DIR__ . '/../../');
print $version->getVersion();
print $version->asString();
......@@ -34,7 +34,7 @@ final class Version
}
if (self::$version === '') {
self::$version = (new VersionId('10.0', dirname(__DIR__, 2)))->getVersion();
self::$version = (new VersionId('10.0', dirname(__DIR__, 2)))->asString();
}
return self::$version;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment