Skip to content

Reflection for virtual CodeIgniter\Entity\Entity properties #17

Closed

Description

@paulbalandan

By default, PHPStan does not know what is the relation of $casts to the properties of Entities. We need to teach it that the content of $casts influence the type of the properties.

Originally posted by @paulbalandan in #7 (comment)

Activity

  1. paulbalandan commented on Jun 15, 2026

    @paulbalandan
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions