Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 02-listing-records.md #12011

Merged
merged 1 commit into from Mar 24, 2024
Merged

Update 02-listing-records.md #12011

merged 1 commit into from Mar 24, 2024

Conversation

andruu
Copy link
Contributor

@andruu andruu commented Mar 24, 2024

If using the static prefix you get the following error Cannot make non static method Filament\Resources\Pages\ListRecords::table() static in class

Making non static works

If using the static prefix you get the following error `Cannot make non static method Filament\Resources\Pages\ListRecords::table() static in class`

Making non static works
@zepfietje zepfietje added the documentation Improvements or additions to documentation label Mar 24, 2024
@zepfietje zepfietje added this to the v3 milestone Mar 24, 2024
@zepfietje zepfietje merged commit f6af866 into filamentphp:3.x Mar 24, 2024
11 checks passed
@zepfietje
Copy link
Member

Thanks!

@danharrin
Copy link
Member

This is wrong, the docs clearly state table() method of the resource

@zepfietje
Copy link
Member

Sorry, I did check but missed that final word apparently...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants