Skip to content

Commit

Permalink
move properties
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 18, 2017
1 parent e1a4029 commit dc7e7cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Illuminate/Validation/Concerns/FormatsMessages.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ trait FormatsMessages
{
use ReplacesAttributes;

/**
* The size related validation rules.
*
* @var array
*/
protected $sizeRules = ['Size', 'Between', 'Min', 'Max'];

/**
* The numeric related validation rules.
*
* @var array
*/
protected $numericRules = ['Numeric', 'Integer'];

/**
* Get the validation message for an attribute and rule.
*
Expand Down
14 changes: 14 additions & 0 deletions src/Illuminate/Validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,20 @@ class Validator implements ValidatorContract
'Before', 'After', 'BeforeOrEqual', 'AfterOrEqual',
];

/**
* The size related validation rules.
*
* @var array
*/
protected $sizeRules = ['Size', 'Between', 'Min', 'Max'];

/**
* The numeric related validation rules.
*
* @var array
*/
protected $numericRules = ['Numeric', 'Integer'];

/**
* Create a new Validator instance.
*
Expand Down

0 comments on commit dc7e7cb

Please sign in to comment.