Skip to content

Commit

Permalink
update service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrisrp committed Sep 30, 2024
1 parent 766fded commit e36f132
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions classes/Admin/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class ServiceProvider extends AbstractServiceProvider {
*/
protected $provides = [
'admin_subscriber',
'user',
];

/**
Expand All @@ -36,8 +35,6 @@ class ServiceProvider extends AbstractServiceProvider {
* @return void
*/
public function register() {
$this->getContainer()->add( 'user', User::class );

$this->getContainer()->share( 'admin_subscriber', AdminSubscriber::class )
->addArgument( $this->getContainer()->get( 'user' ) );
}
Expand Down

0 comments on commit e36f132

Please sign in to comment.