Added static to example getColumns method

This commit is contained in:
Luke Holder
2024-05-17 16:24:04 +08:00
committed by GitHub
parent 6d67f49d74
commit dd9fbb97dc
@@ -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')