Ignore error reported by PHPStan

This commit is contained in:
Sebastian Bergmann 2024-06-22 09:36:34 +02:00
parent d7f10b24f3
commit e78e729e97
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
1 changed files with 1 additions and 0 deletions

View File

@ -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)',