Fix get class name

This commit is contained in:
Morf 2011-05-25 03:56:22 -07:00
parent 5036617e3e
commit ed439ec0a0

View file

@ -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());
}
}