diff --git a/Core/Core.php b/Core/Core.php index 82adc9244..21f2b9797 100755 --- a/Core/Core.php +++ b/Core/Core.php @@ -431,8 +431,7 @@ function method_exists($object_or_class, string $method): bool {} * @param string $property

* The name of the property *

- * @return bool true if the property exists, false if it doesn't exist or - * null in case of an error. + * @return bool true if the property exists, false otherwise */ #[Pure] function property_exists($object_or_class, string $property): bool {} @@ -441,7 +440,7 @@ function property_exists($object_or_class, string $property): bool {} * Checks if the trait exists * @param string $trait Name of the trait to check * @param bool $autoload [optional] Whether to autoload if not already loaded. - * @return bool Returns TRUE if trait exists, FALSE if not, NULL in case of an error. + * @return bool Returns true if trait exists, false otherwise * @link https://secure.php.net/manual/en/function.trait-exists.php * @since 5.4 */ @@ -1145,4 +1144,4 @@ function exit(string|int $status = 0): never {} /** * @since 8.4 */ -function die(string|int $status = 0): never {} \ No newline at end of file +function die(string|int $status = 0): never {}