Code cleanup, no functional changes
This commit is contained in:
@@ -12,8 +12,8 @@ class TwoByteIntegerWithZero implements Rule
|
||||
* Determine if the validation rule passes.
|
||||
* This will check that a number used for zone, net, host is between 1 and DomainController::NUMBER_MAX.
|
||||
*
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
* @return bool
|
||||
*/
|
||||
public function passes($attribute,$value)
|
||||
@@ -30,4 +30,4 @@ class TwoByteIntegerWithZero implements Rule
|
||||
{
|
||||
return sprintf('The number must be between 1 and %d.',DomainController::NUMBER_MAX);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user