Ignore error reported by PHPStan
This commit is contained in:
parent
d7f10b24f3
commit
e78e729e97
|
|
@ -270,6 +270,7 @@ final readonly class Exporter
|
|||
return 'resource (closed)';
|
||||
}
|
||||
|
||||
/** @phpstan-ignore function.impossibleType */
|
||||
if (is_resource($value)) {
|
||||
return sprintf(
|
||||
'resource(%d) of type (%s)',
|
||||
|
|
|
|||
Loading…
Reference in New Issue