Skip to content

Commit 3c9b515

Browse files
committed
update service provider
Signed-off-by: Suhayb Wardany <me@suw.me>
1 parent eb725bc commit 3c9b515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Laravel/InterpretServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class InterpretServiceProvider extends ServiceProvider {
2929
*/
3030
public function register()
3131
{
32-
$this->app['interpreter'] = $this->app->share(function($app)
32+
$this->app->singleton('interpreter', function($app)
3333
{
3434
return new Interpreter;
3535
});

0 commit comments

Comments
 (0)