Since DBAL v.4 binary mapping [converts](https://github.com/doctrine/dbal/blob/4.2.x/UPGRADE.md#bc-break-changes-to-handling-binary-fields) DB value to PHP string instead of resource. But PHPStan check produces an error in this case: ``` Property Entity\Foo::$bar type mapping mismatch: database can contain resource|null but property expects string|null. ```