Skip to content

Commit

Permalink
Fix phpdoc for JsonSchena::setType() (#154)
Browse files Browse the repository at this point in the history
The type definition in `setType` method can be updated as the property itself accepts `string` too
  • Loading branch information
simivar committed Sep 12, 2023
1 parent 2d7b8e2 commit d23adb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public function setEnum($enum)
/** @codeCoverageIgnoreEnd */

/**
* @param array $type
* @param array|string $type
* @return $this
* @codeCoverageIgnoreStart
*/
Expand Down

0 comments on commit d23adb5

Please sign in to comment.