mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -13,8 +13,8 @@ class VersionCommand extends Command
|
|||
{
|
||||
protected static $defaultName = 'partdb:version|app:version';
|
||||
|
||||
protected $versionManager;
|
||||
protected $gitVersionInfo;
|
||||
protected VersionManagerInterface $versionManager;
|
||||
protected GitVersionInfo $gitVersionInfo;
|
||||
|
||||
public function __construct(VersionManagerInterface $versionManager, GitVersionInfo $gitVersionInfo)
|
||||
{
|
||||
|
@ -43,7 +43,7 @@ class VersionCommand extends Command
|
|||
|
||||
$io->success($message);
|
||||
|
||||
$io->info('PHP version: '. phpversion());
|
||||
$io->info('PHP version: '.PHP_VERSION);
|
||||
$io->info('Symfony version: ' . $this->getApplication()->getVersion());
|
||||
$io->info('OS: '. php_uname());
|
||||
$io->info('PHP extension: '. implode(', ', get_loaded_extensions()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue