Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Oct 11, 2024
1 parent f00a94c commit d0109d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Buttons/ApplePayButton/DataToAppleButtonScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DataToAppleButtonScripts
*/
public function applePayScriptData(bool $isBlock = false): array
{
if(is_admin()) {
if (is_admin()) {
return [];
}
$base_location = wc_get_base_location();
Expand Down
3 changes: 2 additions & 1 deletion src/Shared/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,8 @@ protected function addRecurringPaymentMethods($apiKey, bool $testMode, bool $use
return $result;
}

public function mollieApplePayBlockDataCart() {
public function mollieApplePayBlockDataCart()
{
$dataToScripts = new DataToAppleButtonScripts();
return $dataToScripts->applePayScriptData(true);
}
Expand Down

0 comments on commit d0109d5

Please sign in to comment.