diff --git a/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php b/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php index 7fd4ff371bc31..052c52998c870 100644 --- a/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php +++ b/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php @@ -52,7 +52,7 @@ class PasswordConfirmationMiddlewareTest extends TestCase { private $controller; /** @var ITimeFactory&\PHPUnit\Framework\MockObject\MockObject */ private $timeFactory; - private IProvider|\PHPUnit\Framework\MockObject\MockObject $tokenProvider; + private IProvider&\PHPUnit\Framework\MockObject\MockObject $tokenProvider; /** @var IRequest&\PHPUnit\Framework\MockObject\MockObject */ private IRequest $request; /** @var Manager&\PHPUnit\Framework\MockObject\MockObject */