Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray authored and github-actions[bot] committed Mar 14, 2024
1 parent 8dfa2c0 commit 9a836ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/MollieServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MollieServiceProvider extends ServiceProvider
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([__DIR__ . '/../config/mollie.php' => config_path('mollie.php')]);
$this->publishes([__DIR__.'/../config/mollie.php' => config_path('mollie.php')]);
}

$this->extendSocialite();
Expand Down Expand Up @@ -49,15 +49,15 @@ protected function extendSocialite()
*/
public function register()
{
$this->mergeConfigFrom(__DIR__ . '/../config/mollie.php', 'mollie');
$this->mergeConfigFrom(__DIR__.'/../config/mollie.php', 'mollie');

$this->app->singleton(
MollieApiClient::class,
function (Container $app) {
$client = (new MollieApiClient(new MollieLaravelHttpClientAdapter))
->addVersionString('MollieLaravel/' . self::PACKAGE_VERSION);
->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION);

if (!empty($apiKey = $app['config']['mollie.key'])) {
if (! empty($apiKey = $app['config']['mollie.key'])) {
$client->setApiKey($apiKey);
}

Expand Down

0 comments on commit 9a836ca

Please sign in to comment.