-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix/company billie #971
base: develop
Are you sure you want to change the base?
Fix/company billie #971
Conversation
@@ -6,7 +6,7 @@ | |||
|
|||
class BillieFieldsStrategy implements PaymentFieldsStrategyI | |||
{ | |||
const FIELD_COMPANY = "billing_company"; | |||
const FIELD_COMPANY = "billing_company_billie"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is recommended to use the single quotes for the simple strings, also can add the visibility to constant.
const FIELD_COMPANY = "billing_company_billie"; | |
public const FIELD_COMPANY = 'billing_company_billie'; |
return $this->addPaymentMethodMandatoryFields($fields, $gatewayName, $field, $companyLabel, $errors); | ||
} | ||
|
||
public function switchFields($data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it because of the interface that most of the methods here don't use type hints or return types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Just a small suggestions/questions which doesn't prevent me from approving.
handles PIWOO-575