Skip to content

PHPStan type alias cache invalidation #10449

@devnix

Description

@devnix

Bug report

I'm having the same problem as in #9622. I am not sure why the reproducer is not failing, but this change does not invalidate the cache:

/**
-* @phpstan-type Return non-empty-string
+* @phpstan-type Return int
 */

Code snippet that reproduces the problem

No response

Expected output

I would expect to invalidate the cache successfully

Did PHPStan help you today? Did it make you happy in any way?

I love that these little things enable me to type the return of my query bus in one place ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions