diff options
Diffstat (limited to 'apps/federation/lib/Middleware/AddServerMiddleware.php')
-rw-r--r-- | apps/federation/lib/Middleware/AddServerMiddleware.php | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/federation/lib/Middleware/AddServerMiddleware.php b/apps/federation/lib/Middleware/AddServerMiddleware.php index 8868e5c9207..0e38dd8e700 100644 --- a/apps/federation/lib/Middleware/AddServerMiddleware.php +++ b/apps/federation/lib/Middleware/AddServerMiddleware.php @@ -17,14 +17,11 @@ use OCP\IL10N; use Psr\Log\LoggerInterface; class AddServerMiddleware extends Middleware { - protected string $appName; - protected IL10N $l; - protected LoggerInterface $logger; - - public function __construct(string $appName, IL10N $l, LoggerInterface $logger) { - $this->appName = $appName; - $this->l = $l; - $this->logger = $logger; + public function __construct( + protected string $appName, + protected IL10N $l, + protected LoggerInterface $logger, + ) { } /** |