Skip to content

Commit

Permalink
Small code style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Mar 7, 2024
1 parent 94616b0 commit 8bd0610
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/LdapServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ protected function registerLogging(): void
return;
}

$channelName = Config::get('ldap.logging.channel');
$channel = $logger->channel($channelName);
Container::getInstance()->setLogger($channel);
Container::getInstance()->setLogger(
$logger->channel(
Config::get('ldap.logging.channel')
)
);
}

/**
Expand Down

0 comments on commit 8bd0610

Please sign in to comment.