refac: API 검증시 integer(int-like)에서 is_int로 강제

This commit is contained in:
2022-05-14 22:13:51 +09:00
parent 00ce13564d
commit 0ab6bf86fd
16 changed files with 18 additions and 18 deletions
@@ -17,7 +17,7 @@ class RepeatCommand extends \sammo\BaseAPI
$v->rule('required', [
'amount',
])
->rule('integer', 'amount')
->rule('int', 'amount')
->rule('min', 'amount', 1)
->rule('max', 'amount', 12);