Skip to content

Commit d23adb5

Browse files
authored
Fix phpdoc for JsonSchena::setType() (#154)
The type definition in `setType` method can be updated as the property itself accepts `string` too
1 parent 2d7b8e2 commit d23adb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ public function setEnum($enum)
648648
/** @codeCoverageIgnoreEnd */
649649

650650
/**
651-
* @param array $type
651+
* @param array|string $type
652652
* @return $this
653653
* @codeCoverageIgnoreStart
654654
*/

0 commit comments

Comments
 (0)