Skip to content

sprintf return type inconsistent #9819

@kkmuffme

Description

@kkmuffme

https://psalm.dev/r/439491af3d

There should be an error for non-empty-string in both cases, not only in the case with %d.

It seems there is some return type provider in psalm for this already, but I couldn't find it. @orklah could you point me to the file that has it?

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