diff --git a/Core/Core_c.php b/Core/Core_c.php index 59ab3bb15..3af33afb6 100644 --- a/Core/Core_c.php +++ b/Core/Core_c.php @@ -526,6 +526,12 @@ private function __clone(): void {} public function __wakeup(): void {} } +/** + * Is thrown when the type of an argument is correct but the value of it is incorrect. For example, passing a negative + * integer when the function expects a positive one, or passing an empty string/array when the function expects it to not be empty. + * @link https://www.php.net/manual/en/class.valueerror.php + * @since 8.0 + */ class ValueError extends Error {} /**