Skip to content

Commit

Permalink
Add space
Browse files Browse the repository at this point in the history
  • Loading branch information
LucWollants committed Aug 7, 2024
1 parent f0c75a3 commit 946ccfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/CustomLeagueRouterStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function invokeRouteCallable(Route $route, ServerRequestInterface $reques

protected function throwThrowableMiddleware(Throwable $error): MiddlewareInterface
{
return new class($error) implements MiddlewareInterface {
return new class ($error) implements MiddlewareInterface {
protected Throwable $error;

public function __construct(Throwable $error)
Expand Down
2 changes: 1 addition & 1 deletion tests/Http/InvokableRequestHandlerContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function setUp(): void
{
$this->requestHandler = $this->createMock(RequestHandlerInterface::class);

$this->alreadyCallableRequestHandler = new class() implements RequestHandlerInterface {
$this->alreadyCallableRequestHandler = new class () implements RequestHandlerInterface {
public function handle(ServerRequestInterface $request): ResponseInterface
{
return new NoContentResponse();
Expand Down
2 changes: 1 addition & 1 deletion tests/Http/ProjectedToJSONLDInterceptingMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function setUp(): void
public function it_intercepts_projected_to_jsonld_messages_while_the_request_is_being_handled_and_republishes_the_unique_ones_afterwards(): void
{
// Example request handler that publishes a lot of (duplicate) ProjectedToJSONLD messages on the event bus
$requestHandler = new class($this->middlewareEventBus) implements RequestHandlerInterface {
$requestHandler = new class ($this->middlewareEventBus) implements RequestHandlerInterface {
private EventBus $eventBus;
public function __construct(EventBus $eventBus)
{
Expand Down

0 comments on commit 946ccfd

Please sign in to comment.