Skip to content

Commit d2f2528

Browse files
fix(openapi): method OpenApi::getComponents may return null
1 parent 86be7df commit d2f2528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApi/OpenApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getPaths(): Paths
5050
return $this->paths;
5151
}
5252

53-
public function getComponents(): Components
53+
public function getComponents(): ?Components
5454
{
5555
return $this->components;
5656
}

0 commit comments

Comments
 (0)