Skip to content

Commit dc7e7cb

Browse files
committed
move properties
1 parent e1a4029 commit dc7e7cb

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/Illuminate/Validation/Concerns/FormatsMessages.php

-14
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,6 @@ trait FormatsMessages
1111
{
1212
use ReplacesAttributes;
1313

14-
/**
15-
* The size related validation rules.
16-
*
17-
* @var array
18-
*/
19-
protected $sizeRules = ['Size', 'Between', 'Min', 'Max'];
20-
21-
/**
22-
* The numeric related validation rules.
23-
*
24-
* @var array
25-
*/
26-
protected $numericRules = ['Numeric', 'Integer'];
27-
2814
/**
2915
* Get the validation message for an attribute and rule.
3016
*

src/Illuminate/Validation/Validator.php

+14
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,20 @@ class Validator implements ValidatorContract
169169
'Before', 'After', 'BeforeOrEqual', 'AfterOrEqual',
170170
];
171171

172+
/**
173+
* The size related validation rules.
174+
*
175+
* @var array
176+
*/
177+
protected $sizeRules = ['Size', 'Between', 'Min', 'Max'];
178+
179+
/**
180+
* The numeric related validation rules.
181+
*
182+
* @var array
183+
*/
184+
protected $numericRules = ['Numeric', 'Integer'];
185+
172186
/**
173187
* Create a new Validator instance.
174188
*

0 commit comments

Comments
 (0)