Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #646

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
]);
}
}
Loading