Skip to content

Commit

Permalink
Fix phpdoc for JsonSchena::setType()
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 authored Sep 8, 2023
1 parent 2d7b8e2 commit ac6bfe9
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 ac6bfe9

Please sign in to comment.