Ignore cast.useless error
This commit is contained in:
parent
a3bb1f01c1
commit
cb499f5074
|
|
@ -302,6 +302,7 @@ final readonly class Exporter
|
|||
if (is_resource($value)) {
|
||||
return sprintf(
|
||||
'resource(%d) of type (%s)',
|
||||
/** @phpstan-ignore cast.useless */
|
||||
(int) $value,
|
||||
get_resource_type($value),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue