Skip to content

Commit 8fdeda3

Browse files
authored
Merge pull request #76 from micaelpdias/patch-1
Fix missing method
2 parents 7a9bfa1 + 1cd2183 commit 8fdeda3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AgentServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function boot()
2626
*/
2727
public function register()
2828
{
29-
$this->app['agent'] = $this->app->share(function ($app)
29+
$this->app->singleton('agent', function ($app)
3030
{
3131
return new Agent($app['request']->server->all());
3232
});

0 commit comments

Comments
 (0)