Skip to content

Commit

Permalink
Make Phpstan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tidal committed Jun 30, 2022
1 parent 42cd3eb commit 328b2dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static function create(ServerRequestFactoryInterface $decorated, TextMapP
*/
public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
{
/** @phpstan-ignore-next-line */
return self::doCreateRequest(
$this->decorated,
$this->propagator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function test_create_request(): void
);
$this->assertSame(
$uri,
$instance->createRequest($method, $uri)->getUri()
(string) $instance->createRequest($method, $uri)->getUri()
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function test_create_server_request(): void
);
$this->assertSame(
$uri,
$instance->createServerRequest($method, $uri)->getUri()
(string) $instance->createServerRequest($method, $uri)->getUri()
);
}
}

0 comments on commit 328b2dd

Please sign in to comment.