mirror of
https://github.com/shlinkio/shlink.git
synced 2025-12-10 11:05:50 -06:00
Remove unused AppOptions::__toString method
This commit is contained in:
parent
1e0b6be67d
commit
7812a85b39
@ -6,8 +6,6 @@ namespace Shlinkio\Shlink\Core\Config\Options;
|
||||
|
||||
use Shlinkio\Shlink\Core\Config\EnvVars;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
final class AppOptions
|
||||
{
|
||||
public function __construct(public string $name = 'Shlink', public string $version = '4.0.0')
|
||||
@ -19,9 +17,4 @@ final class AppOptions
|
||||
$version = EnvVars::isDevEnv() ? 'latest' : '%SHLINK_VERSION%';
|
||||
return new self(version: $version);
|
||||
}
|
||||
|
||||
public function __toString(): string
|
||||
{
|
||||
return sprintf('%s:v%s', $this->name, $this->version);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user