Skip to content

Fix negative integer rule

Compare
Choose a tag to compare
@stuyam stuyam released this 12 Nov 02:10
· 60 commits to master since this release

This update adds the ability for integers to be negative. Currently it only supports positive integers. If you want to continue to only use positive integers you can change your validator from integer to integer|min:num,0. Thanks to issues #215 and @henry132109 for pointing this out.