From d6b8c726bcc619a46b734a43f645367f987b2026 Mon Sep 17 00:00:00 2001 From: Daniel Opitz Date: Fri, 20 Sep 2024 19:56:14 +0200 Subject: [PATCH] Change class keyword to lowercase (#3346) --- tests/AppTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AppTest.php b/tests/AppTest.php index cd18bfd16..80c6e9f66 100644 --- a/tests/AppTest.php +++ b/tests/AppTest.php @@ -1423,7 +1423,7 @@ public function testInvokeWithCallableRegisteredInContainer(): void $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class); $responseFactoryProphecy->createResponse()->willReturn($responseProphecy->reveal()); - $handler = new Class + $handler = new class { public function foo(ServerRequestInterface $request, ResponseInterface $response) { @@ -1465,7 +1465,7 @@ public function testInvokeWithNonExistentMethodOnCallableRegisteredInContainer() $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class); $responseFactoryProphecy->createResponse()->willReturn($responseProphecy->reveal()); - $handler = new Class + $handler = new class { };