File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
packages/framework/src/Facades Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -194,12 +194,6 @@ public function toArray(): array
194194 ])->toArray ();
195195 }
196196
197- /** @return array<Feature> */
198- protected static function getDefaultOptions (): array
199- {
200- return Feature::cases ();
201- }
202-
203197 protected function boot (): array
204198 {
205199 return array_map (fn (Feature $ feature ): string => $ feature ->value , $ this ->getConfiguredFeatures ());
@@ -208,7 +202,7 @@ protected function boot(): array
208202 /** @return array<Feature> */
209203 protected function getConfiguredFeatures (): array
210204 {
211- return Config::getArray ('hyde.features ' , static :: getDefaultOptions ());
205+ return Config::getArray ('hyde.features ' , Feature:: cases ());
212206 }
213207
214208 /**
You can’t perform that action at this time.
0 commit comments