mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-11 18:26:33 +00:00
:octocat: +Version::__toString()
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user