diff --git a/config/config.php b/config/config.php index 03e79c88..fbcfda3e 100644 --- a/config/config.php +++ b/config/config.php @@ -23,7 +23,7 @@ 'funding-eligibility' => env('PAYPAL_COMPONENT_FUNDING', true), ], 'funding_sources' => env('PAYPAL_FUNDING_SOURCES', 'card,venmo'), - 'transactions' => [ + 'transactions' => [ 'intent' => env('PAYPAL_TRANSACTION_INTENT', 'capture'), 'commit' => env('PAYPAL_COMMIT_TRANSACTION', true), ], diff --git a/src/Commands/PublishAssetsCommand.php b/src/Commands/PublishAssetsCommand.php index fcc62d36..26ac2409 100644 --- a/src/Commands/PublishAssetsCommand.php +++ b/src/Commands/PublishAssetsCommand.php @@ -26,15 +26,15 @@ class PublishAssetsCommand extends Command */ public function handle(): void { - $this->comment("Installing the PayPal JS SDK through npm"); + $this->comment('Installing the PayPal JS SDK through npm'); - $result = Process::run("npm install --save @paypal/paypal-js"); + $result = Process::run('npm install --save @paypal/paypal-js'); if ($result->successful()) { echo $result->output(); - $this->comment("Installed the PayPal JS SDK."); + $this->comment('Installed the PayPal JS SDK.'); } else { echo $result->errorOutput(); - $this->error("Unable to install the PayPal JS SDK."); + $this->error('Unable to install the PayPal JS SDK.'); } } } diff --git a/src/Providers/PayPalServiceProvider.php b/src/Providers/PayPalServiceProvider.php index 0fcfccbe..26cd5004 100644 --- a/src/Providers/PayPalServiceProvider.php +++ b/src/Providers/PayPalServiceProvider.php @@ -84,7 +84,7 @@ private function mergeConfig(): void private function registerCommands(): void { $this->commands([ - PublishAssetsCommand::class + PublishAssetsCommand::class, ]); } }