mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Added static to example getColumns method
This commit is contained in:
@@ -90,7 +90,7 @@ To define the columns that can be imported, you need to override the `getColumns
|
||||
```php
|
||||
use Filament\Actions\Imports\ImportColumn;
|
||||
|
||||
public function getColumns(): array
|
||||
public static function getColumns(): array
|
||||
{
|
||||
return [
|
||||
ImportColumn::make('name')
|
||||
|
||||
Reference in New Issue
Block a user