Skip to content

Commit

Permalink
Fix cs and psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Jan 9, 2025
1 parent 78a8d77 commit c47d3e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/PaymentMethods/Billie.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public function getFormFields(array $generalFormFields): array
* Validate mandatory fields for the Billie payment method.
*
* @param array $fields
* @param array $errors
* @param $errors
*/
public function BillieFieldsMandatory(array $fields, array $errors)
public function BillieFieldsMandatory(array $fields, $errors)
{
$gatewayName = "mollie_wc_gateway_billie";
$field = 'billing_company_billie';
Expand Down Expand Up @@ -114,10 +114,10 @@ public function switchFields(array $data): array
* @param array $fields
* @param string $gatewayName
* @param string $field
* @param array $errors
* @param $errors
* @return mixed
*/
public function addPaymentMethodMandatoryFields(array $fields, string $gatewayName, string $field, string $fieldLabel, array $errors)
public function addPaymentMethodMandatoryFields(array $fields, string $gatewayName, string $field, string $fieldLabel, $errors)
{
if ($fields['payment_method'] !== $gatewayName) {
return $fields;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class BillieFieldsStrategy implements PaymentFieldsStrategyI
{
const FIELD_COMPANY = "billing_company_billie";
public const FIELD_COMPANY = 'billing_company_billie';

public function execute($gateway, $dataHelper)
{
Expand Down

0 comments on commit c47d3e0

Please sign in to comment.