Resource class throw 'Undefined property' error by intelephense. #45511
Unanswered
Neozips-Benjamin
asked this question in
Q&A
Replies: 1 comment
-
After I update larval 9.47.0, php.8.2.1, php intelephense 1.9.3 resource class doesn't throw 'Undefined property' error!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After updating php to 8.2, resource class throw 'Undefined property' error.
How can I fix it?
I can disable intelephense

Or I can put #[AllowDynamicProperties] top of Resource Class.
However, I would like to know the property way to write the code with php 8.2 standard.
'maintenances' table has 'id' and 'request_id' columns.
Resource Class
Model Class
Beta Was this translation helpful? Give feedback.
All reactions