mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
Recreate Digits as deperecated decorator for Digit.
This commit is contained in:
parent
898429ab07
commit
be04fa3264
12
library/Respect/Validation/Rules/Digits.php
Normal file
12
library/Respect/Validation/Rules/Digits.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
namespace Respect\Validation\Rules;
|
||||
|
||||
class Digits extends Digit
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
trigger_error("Use digit instead.",
|
||||
E_USER_DEPRECATED);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue