Skip to content

Commit

Permalink
style: Add whitespace after if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lowbits committed Jan 8, 2024
1 parent fbcce40 commit c42ebcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static function create($owner, array $sessionOptions = [], array $custome
$data['return_url'] = $sessionOptions['return_url'] ?? route('home');

// Remove return URL for embedded UI mode when no redirection is desired on completion...
if(isset($data['redirect_on_completion']) && $data['redirect_on_completion'] === 'never') {
if (isset($data['redirect_on_completion']) && $data['redirect_on_completion'] === 'never') {
unset($data['return_url']);
}
} else {
Expand Down

0 comments on commit c42ebcf

Please sign in to comment.