diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-03-29 16:34:53 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-03-30 12:33:46 +0200 |
commit | 02f9c3a06f1087a19cd255c7544a30b444c18558 (patch) | |
tree | dd62e5a989de0c7c6802e4ec28818bcaa6b18f82 /lib | |
parent | 488dde12cd2d331ae64e3f4e6c7ad1937461b241 (diff) | |
download | nextcloud-server-02f9c3a06f1087a19cd255c7544a30b444c18558.tar.gz nextcloud-server-02f9c3a06f1087a19cd255c7544a30b444c18558.zip |
Use implementations instead of interfaces for accessing private methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Collaboration/Resources/Collection.php | 2 | ||||
-rw-r--r-- | lib/private/NavigationManager.php | 2 | ||||
-rw-r--r-- | lib/private/Repair/NC16/ClearCollectionsAccessCache.php | 2 | ||||
-rw-r--r-- | lib/private/Updater.php | 3 |
4 files changed, 4 insertions, 5 deletions
diff --git a/lib/private/Collaboration/Resources/Collection.php b/lib/private/Collaboration/Resources/Collection.php index 2e67c041566..e34c38a80cd 100644 --- a/lib/private/Collaboration/Resources/Collection.php +++ b/lib/private/Collaboration/Resources/Collection.php @@ -37,7 +37,7 @@ use OCP\IDBConnection; use OCP\IUser; class Collection implements ICollection { - /** @var IManager|Manager */ + /** @var Manager */ protected $manager; /** @var IDBConnection */ diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index e3d5ac752d8..2050244d384 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -61,7 +61,7 @@ class NavigationManager implements INavigationManager { private $l10nFac; /** @var IUserSession */ private $userSession; - /** @var IGroupManager|Manager */ + /** @var Manager */ private $groupManager; /** @var IConfig */ private $config; diff --git a/lib/private/Repair/NC16/ClearCollectionsAccessCache.php b/lib/private/Repair/NC16/ClearCollectionsAccessCache.php index 8bc73c8f66b..51a63406d22 100644 --- a/lib/private/Repair/NC16/ClearCollectionsAccessCache.php +++ b/lib/private/Repair/NC16/ClearCollectionsAccessCache.php @@ -35,7 +35,7 @@ class ClearCollectionsAccessCache implements IRepairStep { /** @var IConfig */ private $config; - /** @var IManager|Manager */ + /** @var Manager */ private $manager; public function __construct(IConfig $config, IManager $manager) { diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 45a5b4c2160..45c22dc89bc 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -40,7 +40,6 @@ declare(strict_types=1); */ namespace OC; -use OCP\App\IAppManager; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventDispatcher; use OCP\HintException; @@ -274,7 +273,7 @@ class Updater extends BasicEmitter { // Update the appfetchers version so it downloads the correct list from the appstore \OC::$server->getAppFetcher()->setVersion($currentVersion); - /** @var IAppManager|AppManager $appManager */ + /** @var AppManager $appManager */ $appManager = \OC::$server->getAppManager(); // upgrade appstore apps |