Skip to content

Commit

Permalink
Update OnlyLoggedInMiddleware.php
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf authored Nov 21, 2024
1 parent b72d192 commit 6e743b1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions lib/Middleware/OnlyLoggedInMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,12 @@
* @package OCA\User_SAML\MiddleWare
*/
class OnlyLoggedInMiddleware extends Middleware {
/** @var IControllerMethodReflector */
private $reflector;
/** @var IUserSession */
private $userSession;
/** @var IURLGenerator */
private $urlGenerator;

public function __construct(
IControllerMethodReflector $reflector,
IUserSession $userSession,
IURLGenerator $urlGenerator,
private IControllerMethodReflector $reflector,
private IUserSession $userSession,
private IURLGenerator $urlGenerator,
) {
$this->reflector = $reflector;
$this->userSession = $userSession;
$this->urlGenerator = $urlGenerator;
}

/**
Expand Down

0 comments on commit 6e743b1

Please sign in to comment.