Skip to content

Commit

Permalink
latest remove Singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
noemimpimentel committed Dec 11, 2023
1 parent 6242beb commit 7bedd02
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/IssJuridicoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,4 @@ public function configurePackage(Package $package): void
//->hasMigration('create_iss-juridico_table')
//->hasCommand(IssJuridicoCommand::class);
}

public function register(): void
{
$this->app->singleton('iss-juridico', fn ($app, $args) => new IssJuridico($args[0] ?? request()->bearerToken()));
}

}

0 comments on commit 7bedd02

Please sign in to comment.