Skip to content

Commit 305dc46

Browse files
authored
Issue #417: AuthenticationMiddleware no longer extends AuthenticationMiddleware from mezzio/mezzio-authentication
Signed-off-by: Alex Karajos <[email protected]>
1 parent e66ba90 commit 305dc46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/App/src/Middleware/AuthenticationMiddleware.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
use Mezzio\Authentication\UserInterface;
1212
use Psr\Http\Message\ResponseInterface;
1313
use Psr\Http\Message\ServerRequestInterface;
14+
use Psr\Http\Server\MiddlewareInterface;
1415
use Psr\Http\Server\RequestHandlerInterface;
1516

16-
class AuthenticationMiddleware extends \Mezzio\Authentication\AuthenticationMiddleware
17+
class AuthenticationMiddleware implements MiddlewareInterface
1718
{
1819
#[Inject(
1920
AuthenticationInterface::class,
2021
)]
2122
public function __construct(
22-
AuthenticationInterface $auth,
23+
protected AuthenticationInterface $auth,
2324
) {
24-
parent::__construct($auth);
2525
}
2626

2727
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface

0 commit comments

Comments
 (0)