This may be because it is an internal type, but in the jetbrains stubs it looks like this:
class ReflectionType
{
/* Methods */
/**
* Checks if null is allowed
* @link https://php.net/manual/en/reflectiontype.allowsnull.php
* @return bool TRUE if NULL is allowed, otherwise FALSE
* @since 7.0
*/
public function allowsNull()
{
}
/**
* Checks if it is a built-in type
* @link https://php.net/manual/en/reflectiontype.isbuiltin.php
* @return bool TRUE if it's a built-in type, otherwise FALSE
* @since 7.0
*/
public function isBuiltin()
{
}
/**
* To string
* @link https://php.net/manual/en/reflectiontype.tostring.php
* @return string Returns the type of the parameter.
* @since 7.0
* @deprecated 7.1 Please use getName()
* @see \ReflectionType::getName()
*/
public function __toString()
{
}
private final function __clone() {}
}
This may be because it is an internal type, but in the jetbrains stubs it looks like this: