:octocat: +Version::__toString()

This commit is contained in:
codemasher
2021-06-06 01:12:08 +02:00
parent 4f6002ab7b
commit f294c3a6d6
+7
View File
@@ -272,6 +272,13 @@ final class Version{
$this->version = $version;
}
/**
* returns the current version number as string
*/
public function __toString():string{
return (string)$this->version;
}
/**
* returns the current version number
*/