fix(nc28): fix php-8.2 deprecation (dynamic properties)
Signed-off-by: Ilia Urvachev <rtm@ctrlz.ru>
This commit is contained in:
Родитель
d9ef686a6b
Коммит
cf2a4770f9
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче