Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored and StyleCIBot committed Sep 7, 2021
1 parent 62d33c9 commit 608873b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/GroupTest.php
Expand Up @@ -283,7 +283,7 @@ public function testDispatcherInjected(): void

private function getRequestHandler(): RequestHandlerInterface
{
return new class() implements RequestHandlerInterface {
return new class () implements RequestHandlerInterface {
public function handle(ServerRequestInterface $request): ResponseInterface
{
return new Response(404);
Expand Down
2 changes: 1 addition & 1 deletion tests/MatchingResultTest.php
Expand Up @@ -80,7 +80,7 @@ private function getMiddleware(): callable

private function getRequestHandler(): RequestHandlerInterface
{
return new class() implements RequestHandlerInterface {
return new class () implements RequestHandlerInterface {
public function handle(ServerRequestInterface $request): ResponseInterface
{
return new Response(404);
Expand Down
4 changes: 2 additions & 2 deletions tests/Middleware/RouterTest.php
Expand Up @@ -87,7 +87,7 @@ private function getMatcher(): UrlMatcherInterface
{
$middleware = $this->createRouteMiddleware();

return new class($middleware) implements UrlMatcherInterface {
return new class ($middleware) implements UrlMatcherInterface {
private $middleware;

public function __construct($middleware)
Expand Down Expand Up @@ -120,7 +120,7 @@ public function match(ServerRequestInterface $request): MatchingResult

private function createRequestHandler(): RequestHandlerInterface
{
return new class() implements RequestHandlerInterface {
return new class () implements RequestHandlerInterface {
public function handle(ServerRequestInterface $request): ResponseInterface
{
return new Response(404);
Expand Down
2 changes: 1 addition & 1 deletion tests/RouteCollectionTest.php
Expand Up @@ -235,7 +235,7 @@ public function testCollectorMiddlewareFullstackCalled()

private function getRequestHandler(): RequestHandlerInterface
{
return new class() implements RequestHandlerInterface {
return new class () implements RequestHandlerInterface {
public function handle(ServerRequestInterface $request): Response
{
return new Response(404);
Expand Down
2 changes: 1 addition & 1 deletion tests/RouteTest.php
Expand Up @@ -154,7 +154,7 @@ public function testDispatcherInjecting(): void

private function getRequestHandler(): RequestHandlerInterface
{
return new class() implements RequestHandlerInterface {
return new class () implements RequestHandlerInterface {
public function handle(ServerRequestInterface $request): ResponseInterface
{
return new Response(404);
Expand Down

0 comments on commit 608873b

Please sign in to comment.