mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-14 22:26:14 +00:00
refactored code
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
@@ -21,9 +21,7 @@ class AnikeenIdServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->publishes([
|
||||
dirname(__DIR__, 3) . '/config/anikeen-id.php' => config_path('anikeen-id.php'),
|
||||
], 'config');
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -31,7 +29,6 @@ class AnikeenIdServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
$this->mergeConfigFrom(dirname(__DIR__, 3) . '/config/anikeen-id.php', 'anikeen-id');
|
||||
$this->app->singleton(Contracts\AppTokenRepository::class, Repository\AppTokenRepository::class);
|
||||
$this->app->singleton(AnikeenId::class, function () {
|
||||
return new AnikeenId;
|
||||
|
||||
Reference in New Issue
Block a user