It seems like hexdec(substr($card['id'], 0, 8)) can also be of type double; however, parameter $unixtimestamp of DateTime::setTimestamp() 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
29
return (new \DateTime())->setTimestamp(/** @scrutinizer ignore-type */ hexdec(substr($card['id'], 0, 8)));
Loading history...
30
}
31
32
public static function isInCurrentSprint(string $status): bool
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.