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.
It seems like $time can also be of type double; however, parameter $timestamp of date() does only seem to accept integer, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
35
\date((string) new ISO8601, /** @scrutinizer ignore-type */ $time)
Loading history...
36
));
37
}
38
39
5
public function original(): PointInTimeInterface
40
{
41
5
return $this->original;
42
}
43
44
6
public function __toString(): string
45
{
46
6
return $this->value ?? $this->value = (string) new UnsignedLongLongInteger(
47
6
new Integer((int) $this->original->format(new TimestampFormat))