Commit 225c2db
committed
fix: update getModel() method signature for Filament v4 compatibility
- Fix method signature incompatibility in SolutionForest\FilamentTree\Actions\Action::getModel()
- Add missing parameter: bool $withDefault = true
- Change return type from string to ?string to match parent class
- Resolves PHP Fatal Error: "Declaration of getModel(): string must be compatible with Filament\Actions\Action::getModel(bool $withDefault = true): ?string"
Fixes #781 parent 6f95b56 commit 225c2db
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments