filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
18.92k stars 2.93k forks source link

HasTable interface need getSelectedTableRecordsCount method #958

Closed wit3 closed 2 years ago

wit3 commented 2 years ago

Package

filament/tables

Package Version

v2.6.3

Laravel Version

v8.76.2

Livewire Version

v2.8.2

PHP Version

PHP v8.0.13

Bug description

If i create new component for table package, when implement HasTable interface, my intellisense in vscode alert me that the class component doesn't implement getSelectedTableRecordsCount method ( declared in HasTable interface )

Immagine 2021-12-22 123717

Steps to reproduce

No response

Relevant log output

No response

wit3 commented 2 years ago

It's ambiugous, because the InteractsWithTable Trait use the CanSelectRecords that define that method