Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit a68a89d

Browse files
committed
Fix Laravel service provider
1 parent 9589288 commit a68a89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Laravel/JsSandboxServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ protected function registerWrapper()
163163

164164
$this->app->singleton(ObjectSpecsCollectionInterface::class, ObjectSpecsCollection::class);
165165
$this->app->singleton(FunctionWrappersCacheInterface::class, function () use ($function_wrappers_map) {
166-
new FunctionWrappersCache($function_wrappers_map);
166+
return new FunctionWrappersCache($function_wrappers_map);
167167
});
168168

169169
$object_store_map = new ObjectBiMap();

0 commit comments

Comments
 (0)