mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
Rename rule "Numeric" to "NumericVal"
This commit is contained in:
parent
07a120d058
commit
e708edd005
22 changed files with 50 additions and 50 deletions
|
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Respect/Validation.
|
||||
*
|
||||
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
*
|
||||
* For the full copyright and license information, please view the "LICENSE.md"
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
class NumericException extends ValidationException
|
||||
{
|
||||
public static $defaultTemplates = [
|
||||
self::MODE_DEFAULT => [
|
||||
self::STANDARD => '{{name}} must be numeric',
|
||||
],
|
||||
self::MODE_NEGATIVE => [
|
||||
self::STANDARD => '{{name}} must not be numeric',
|
||||
],
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue