Skip to content

Commit

Permalink
Merge pull request #384 from dedoc/349-unable-to-retrieve-schemas-wit…
Browse files Browse the repository at this point in the history
…h-octane

Fixes schema resolution issues when running on Octane
  • Loading branch information
romalytvynenko authored May 20, 2024
2 parents 9151288 + c4ebd96 commit 0d107f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScrambleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0d107f8

Please sign in to comment.