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

BA-239 Make it possible to override the version within requests #168

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

ShuCh3n
Copy link
Contributor

@ShuCh3n ShuCh3n commented Mar 11, 2024

No description provided.

@ShuCh3n ShuCh3n changed the base branch from master to develop March 11, 2024 08:57
@ShuCh3n ShuCh3n merged commit 5e9e363 into develop Mar 12, 2024
5 checks passed
@ShuCh3n ShuCh3n deleted the BA-239 branch March 12, 2024 06:35
@@ -166,8 +166,13 @@ public function paymentMethod(): PaymentMethod
*/
public function __call(?string $name, array $arguments)
{
if (method_exists($this->paymentMethod, $name))
{
if (method_exists($this->paymentMethod, $name)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you decide to create a new method and not just allow a "version" property that can be added as a request parameter ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants