diff --git a/src/ScrambleServiceProvider.php b/src/ScrambleServiceProvider.php index e99fb81a..dc8a73d1 100644 --- a/src/ScrambleServiceProvider.php +++ b/src/ScrambleServiceProvider.php @@ -130,7 +130,7 @@ public function configurePackage(Package $package): void )); return new TypeTransformer( - $this->app->make(Infer::class), + app()->make(Infer::class), new Components, array_merge($typesToSchemaExtensions, [ EnumToSchema::class,