Skip to content

Commit

Permalink
fix(PHP): restore PHP 7.3 compat
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Nov 22, 2023
1 parent da576b8 commit 3fd5795
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion apps/files_sharing/lib/Command/DeleteOrphanShares.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
8 changes: 6 additions & 2 deletions apps/files_sharing/lib/OrphanHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3fd5795

Please sign in to comment.