Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invalid mapping type to property type check for binary mapping since DBAL v.4 #659

Open
@v-noskov

Description

Since DBAL v.4 binary mapping converts 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /