There was an error while loading. Please reload this page.
2 parents 7a9bfa1 + 1cd2183 commit 8fdeda3Copy full SHA for 8fdeda3
1 file changed
src/AgentServiceProvider.php
@@ -26,7 +26,7 @@ public function boot()
26
*/
27
public function register()
28
{
29
- $this->app['agent'] = $this->app->share(function ($app)
+ $this->app->singleton('agent', function ($app)
30
31
return new Agent($app['request']->server->all());
32
});
0 commit comments