Use typed properties

This commit is contained in:
Jan Böhmer 2022-09-18 22:59:31 +02:00
parent 548ec2ea50
commit 51e05a8669
216 changed files with 603 additions and 698 deletions

View file

@ -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()));