You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which then causes the Intelephense to think that the property is read-only: Cannot modify readonly property App\Models\Enquiry::$source.intelephense(P1056)
Mimimal Code Sample
No response
The text was updated successfully, but these errors were encountered:
Extension Version
0.1.14
PHP Binary
Herd
Operating System
Windows
What happened?
So I think I've worked out that this extension generates a bunch of ide_helper files for eloquent models behind-the-scenes (as per
vs-code-extension/src/support/docblocks.ts
Line 16 in fe8691e
I've found what seems to be a bug or something that's sending Intelephense into a little spin.
I created an Accessor on my Eloquent Model:
but then this generates the following in
vendor\_laravel_ide\_model_helpers.php
:which then causes the Intelephense to think that the property is read-only:
Cannot modify readonly property App\Models\Enquiry::$source.intelephense(P1056)
Mimimal Code Sample
No response
The text was updated successfully, but these errors were encountered: