This commit is contained in:
2021-04-25 11:27:13 +08:00
parent 77a6445eea
commit be8faa5cb0
6 changed files with 374 additions and 371 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ abstract class BaseValidator
} else if (property_exists($this, $name)) {
$this->$name = $value;
} else {
throw new Exception('unknown property ' . $name . ' in class ' . get_called_class());
throw new Exception('unknown property ' . $name . ' in class ' . static::class);
}
}
}