diff --git a/apps/files_sharing/lib/Command/DeleteOrphanShares.php b/apps/files_sharing/lib/Command/DeleteOrphanShares.php index 310f27ebfa3e0..f28613037b6e6 100644 --- a/apps/files_sharing/lib/Command/DeleteOrphanShares.php +++ b/apps/files_sharing/lib/Command/DeleteOrphanShares.php @@ -33,7 +33,9 @@ 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(); diff --git a/apps/files_sharing/lib/OrphanHelper.php b/apps/files_sharing/lib/OrphanHelper.php index 6d15680f882d8..02d3af16691ee 100644 --- a/apps/files_sharing/lib/OrphanHelper.php +++ b/apps/files_sharing/lib/OrphanHelper.php @@ -28,8 +28,12 @@ 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,