Skip to content

Commit afb21ff

Browse files
author
Florian Krämer
committed
Fixing optional response arg
1 parent 1032f99 commit afb21ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/OpenAPIValidatorSymfonyTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ protected static function assertRequestMatchesOpenAPISchema(?RequestInterface $r
5151
}
5252

5353
protected static function assertResponseMatchesOpenAPISchema(
54-
?ResponseInterface $response,
5554
string $path,
5655
string $method,
56+
?ResponseInterface $response = null,
5757
): void {
5858
if (null === $response) {
5959
self::assertWebTestCase();

0 commit comments

Comments
 (0)