回答編集履歴

1

ruleの修正

2017/10/19 00:33

投稿

masaya_ohashi
masaya_ohashi

スコア9206

test CHANGED
@@ -50,9 +50,9 @@
50
50
 
51
51
  $validator = Validator::make($input, [
52
52
 
53
- 'int' => 'max:15',
53
+ 'int' => 'integer|max:15',
54
54
 
55
- 'number' => 'max:1200',
55
+ 'number' => 'integer|max:1200',
56
56
 
57
57
  ]);
58
58