It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
The expression return new static((int)$bool) returns the type DBUnt1tled\VO\VObjects\Scalar\Integer which is incompatible with the documented return type integer.
Loading history...
41
}
42
43
/**
44
* @param string $string
45
* @return Integer
46
* @throws \ReflectionException
47
*/
48
6
public static function createFromString(string $string): self
49
{
50
6
if (filter_var($string, FILTER_VALIDATE_INT) !== false) {
The expression return new static((int)$string) returns the type DBUnt1tled\VO\VObjects\Scalar\Integer which is incompatible with the documented return type integer.
Loading history...
52
}
53
3
throw new InvalidVOArgumentException('Value is invalid. Allowed type is integer, float, double, real', $string);