Skip to content

feat(record): inform phpstan / ide that some properties can be read from record specific classes#180

Open
joelwurtz wants to merge 1 commit intomikepultz:masterfrom
joelwurtz:feat/record-field-type
Open

feat(record): inform phpstan / ide that some properties can be read from record specific classes#180
joelwurtz wants to merge 1 commit intomikepultz:masterfrom
joelwurtz:feat/record-field-type

Conversation

@joelwurtz
Copy link

Fix #179

I only did the 'read' side, since writting may require a different type given the type used for the property, i did check the magic __set method but i fear that i would miss too many cases and make a lot of mistake on that part.

@joelwurtz joelwurtz changed the title feat(record): inform phpstan / ide that some properties can be read fom record specific classes feat(record): inform phpstan / ide that some properties can be read from record specific classes Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using public property for record(s)

1 participant