Return value is expected to be \Filament\Tables\Table

What causes this error in PHP Storm. See Attached
No description
7 Replies
Malja
Malja2y ago
What's your php version?
kenromdavids
kenromdavidsOP2y ago
PHP 8.1
Null Keso
Null Keso2y ago
Weird that it works on my end
No description
Null Keso
Null Keso2y ago
Has you tried invalidating the cache? does the error still persist btw?
kenromdavids
kenromdavidsOP2y ago
You mean like php artisan cache:clear? What's funny is everything is working fine in the browser but the error only shows in the editor
Null Keso
Null Keso2y ago
Nope invalidate the caches of the ide itself, though it could be just be the ide being funky
No description
kenromdavids
kenromdavidsOP2y ago
I have tried that but it doesnt work, let me upgrade phpstorm perhaps

Did you find this page helpful?