mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(PHP): restore PHP 7.3 compat
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
da576b8c57
commit
3fd5795cff
2 changed files with 9 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue