Skip to content

Commit

Permalink
Improve type annotations where objects can be null
Browse files Browse the repository at this point in the history
fixes #34
  • Loading branch information
cebe committed Oct 24, 2019
1 parent 371b1df commit 32802d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/spec/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @property array $parameters
* @property mixed $requestBody
* @property string $description
* @property Server $server
* @property Server|null $server
*
*/
class Link extends SpecBaseObject
Expand Down
4 changes: 2 additions & 2 deletions src/spec/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* @property ExternalDocumentation|null $externalDocs
* @property string $operationId
* @property Parameter[]|Reference[] $parameters
* @property RequestBody|Reference $requestBody
* @property Responses $responses
* @property RequestBody|Reference|null $requestBody
* @property Responses|null $responses
* @property Callback[]|Reference[] $callbacks
* @property bool $deprecated
* @property SecurityRequirement[] $security
Expand Down

0 comments on commit 32802d8

Please sign in to comment.