We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e805ddc commit befa42fCopy full SHA for befa42f
src/Generators/TestsGenerator.php
@@ -59,7 +59,7 @@ protected function constructTests(stdClass $openApiData, array $namespaceData):
59
60
$firstResponse = null;
61
if (isset($route->responses)) {
62
- $firstResponse = current((array)$route?->responses) ?? null;
+ $firstResponse = current((array)$route->responses) ?? null;
63
}
64
if (!$firstResponse) {
65
continue;
0 commit comments