Skip to content

Commit

Permalink
provider refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Apr 29, 2024
1 parent cba9803 commit aac8eed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"extra": {
"laravel": {
"providers": [
"Fintech\\Auth\\AuthServiceProvider",
"Fintech\\Auth\\EventServiceProvider"
"Fintech\\Auth\\AuthServiceProvider"
],
"aliases": {
"Auth": "Fintech\\Auth\\Facades\\Auth"
Expand Down
5 changes: 3 additions & 2 deletions src/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public function register()
'fintech.auth'
);

$this->app->register(RouteServiceProvider::class);
$this->app->register(RepositoryServiceProvider::class);
$this->app->register(\Fintech\Auth\Providers\EventServiceProvider::class);
$this->app->register(\Fintech\Auth\Providers\RouteServiceProvider::class);
$this->app->register(\Fintech\Auth\Providers\RepositoryServiceProvider::class);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Fintech\Auth;
namespace Fintech\Auth\Providers;

use Fintech\Auth\Events\AccountFreezed;
use Fintech\Auth\Events\AddToFavouriteAccepted;
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/RepositoryServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Fintech\Auth;
namespace Fintech\Auth\Providers;

use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\Facades\Config;
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Fintech\Auth;
namespace Fintech\Auth\Providers;

use Fintech\Auth\Http\Middlewares\IpAddressVerified;
use Fintech\Auth\Http\Middlewares\LastLoggedIn;
Expand Down

0 comments on commit aac8eed

Please sign in to comment.