aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Resources/ProviderManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration/Resources/ProviderManager.php')
-rw-r--r--lib/private/Collaboration/Resources/ProviderManager.php17
1 files changed, 6 insertions, 11 deletions
diff --git a/lib/private/Collaboration/Resources/ProviderManager.php b/lib/private/Collaboration/Resources/ProviderManager.php
index 4f5ed53b162..823d6764f58 100644
--- a/lib/private/Collaboration/Resources/ProviderManager.php
+++ b/lib/private/Collaboration/Resources/ProviderManager.php
@@ -34,20 +34,15 @@ use Psr\Log\LoggerInterface;
class ProviderManager implements IProviderManager {
/** @var string[] */
- protected $providers = [];
+ protected array $providers = [];
/** @var IProvider[] */
- protected $providerInstances = [];
+ protected array $providerInstances = [];
- /** @var IServerContainer */
- protected $serverContainer;
-
- /** @var LoggerInterface */
- protected $logger;
-
- public function __construct(IServerContainer $serverContainer, LoggerInterface $logger) {
- $this->serverContainer = $serverContainer;
- $this->logger = $logger;
+ public function __construct(
+ protected IServerContainer $serverContainer,
+ protected LoggerInterface $logger,
+ ) {
}
public function getResourceProviders(): array {