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
+1 -1
View File
@@ -17,7 +17,7 @@ class PushCommand extends \sammo\BaseAPI
$v->rule('required', [
'amount',
])
->rule('integer', 'amount')
->rule('int', 'amount')
->rule('min', 'amount', -12)
->rule('max', 'amount', 12);