swaggest / php-json-schema

High definition PHP structures with JSON-schema based validation
MIT License
438 stars 50 forks source link

Fix phpdoc for JsonSchena::setType() #154

Closed simivar closed 1 year ago

simivar commented 1 year ago

The type definition in setType method can be updated as the property itself accepts string too

codecov[bot] commented 1 year ago

Codecov Report

Merging #154 (447303e) into master (2d7b8e2) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 447303e differs from pull request most recent head ac6bfe9. Consider uploading reports for the commit ac6bfe9 to get more accurate results

@@           Coverage Diff           @@
##           master     #154   +/-   ##
=======================================
  Coverage   92.64%   92.64%           
=======================================
  Files          27       27           
  Lines        1687     1687           
=======================================
  Hits         1563     1563           
  Misses        124      124           
Files Changed Coverage Δ
src/JsonSchema.php 100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

vearutop commented 1 year ago

Thank you!