fix(nc28): fix php-8.2 deprecation (dynamic properties)

Signed-off-by: Ilia Urvachev <rtm@ctrlz.ru>
This commit is contained in:
Ilia Urvachev 2024-03-18 19:19:47 +01:00
Родитель d9ef686a6b
Коммит cf2a4770f9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 07B9F50EF721A85D
4 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -23,7 +23,11 @@ use OCA\Maps\Service\TracksService;
class UserInstallScanJob extends QueuedJob {
private $jobList;
private IJobList $jobList;
private IConfig $config;
private IUserManager $userManager;
private PhotofilesService $photofilesService;
private TracksService $tracksService;
/**
* UserInstallScanJob constructor.

Просмотреть файл

@ -25,7 +25,7 @@ use OCA\Maps\Service\PhotofilesService;
class RegisterMimetypes extends Command {
protected $mimetypeService;
protected MimetypeService $mimetypeService;
public function __construct(MimetypeService $mimetypeService) {
parent::__construct();

Просмотреть файл

@ -27,13 +27,11 @@ use OCA\Maps\Service\PhotofilesService;
class RescanPhotos extends Command {
protected $userManager;
protected $output;
protected $encryptionManager;
private $photofilesService;
protected IUserManager $userManager;
protected OutputInterface $output;
protected IManager $encryptionManager;
protected PhotofilesService $photofilesService;
protected IConfig $config;
public function __construct(IUserManager $userManager,
IManager $encryptionManager,

Просмотреть файл

@ -26,13 +26,11 @@ use OCA\Maps\Service\TracksService;
class RescanTracks extends Command {
protected $userManager;
protected $output;
protected $encryptionManager;
private $tracksService;
protected IUserManager $userManager;
protected OutputInterface $output;
protected IManager $encryptionManager;
protected TracksService $tracksService;
protected IConfig $config;
public function __construct(IUserManager $userManager,
IManager $encryptionManager,