fix(PHP): restore PHP 7.3 compat

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2023-11-22 21:33:06 +01:00
parent da576b8c57
commit 3fd5795cff
No known key found for this signature in database
GPG key ID: 7424F1874854DF23
2 changed files with 9 additions and 3 deletions

View file

@ -33,7 +33,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class DeleteOrphanShares extends Base {
private OrphanHelper $orphanHelper;
/** @var OrphanHelper $orphanHelper */
private $orphanHelper;
public function __construct(OrphanHelper $orphanHelper) {
parent::__construct();

View file

@ -28,8 +28,12 @@ use OCP\Files\IRootFolder;
use OCP\IDBConnection;
class OrphanHelper {
private IDBConnection $connection;
private IRootFolder $rootFolder;
/** @var IDBConnection $connection */
private $connection;
/** @var IRootFolder $rootFolder */
private $rootFolder;
public function __construct(
IDBConnection $connection,