Skip to content

Commit

Permalink
Apply fixes from StyleCI (#646)
Browse files Browse the repository at this point in the history
Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
srmklive and StyleCIBot authored Jun 24, 2024
1 parent bf1973f commit 5afc27c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
],
Expand Down
8 changes: 4 additions & 4 deletions src/Commands/PublishAssetsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
}
}
2 changes: 1 addition & 1 deletion src/Providers/PayPalServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private function mergeConfig(): void
private function registerCommands(): void
{
$this->commands([
PublishAssetsCommand::class
PublishAssetsCommand::class,
]);
}
}

0 comments on commit 5afc27c

Please sign in to comment.