Skip to content

Allow int|string and string concatenation #11337

@haas-dtv

Description

@haas-dtv

#11329 allowed concatenations between string and int variables in addition to concatenations between strings, but the type int|string should probably also be an acceptable type in such concatenations.

Example with false positive warning: https://psalm.dev/r/1ff6a14ddb

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