mirror of
https://github.com/Respect/Validation.git
synced 2024-06-27 17:50:13 +02:00
Fix get class name
This commit is contained in:
parent
5036617e3e
commit
ed439ec0a0
|
@ -106,7 +106,7 @@ class Validator extends AllOf
|
|||
* @return \Respect\Validation\Validator
|
||||
*/
|
||||
public static function create() {
|
||||
$ref = new ReflectionClass(self);
|
||||
$ref = new ReflectionClass(__CLASS__);
|
||||
return $ref->newInstanceArgs(func_get_args());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue