File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function getEnums(): array
1818 return $ this ->enums ;
1919 }
2020
21- public static function getEnum (string $ enum ): ?Enum
21+ public static function getEnum (string $ enum ): ?string
2222 {
2323 return array_merge (
2424 config (static ::get ()->getId () . '.enums ' ),
Original file line number Diff line number Diff line change 22
33namespace LaraZeus \FilamentPluginTools \Concerns ;
44
5- use Enum ;
65use Illuminate \Database \Eloquent \Model ;
76
87trait HasModels
@@ -21,7 +20,7 @@ public function getModels(): array
2120 return $ this ->models ;
2221 }
2322
24- public static function getModel (string $ model ): null | string | Model | Enum
23+ public static function getModel (string $ model ): null | string | Model
2524 {
2625 return array_merge (
2726 config (static ::get ()->getId () . '.models ' ),
You can’t perform that action at this time.
0 commit comments