Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuCh3n committed Mar 12, 2024
1 parent 128f9a6 commit c3c3130
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/PaymentMethods/PaymentFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,8 @@ public function paymentMethod(): PaymentMethod
*/
public function __call(?string $name, array $arguments)
{
if (method_exists($this->paymentMethod, $name))
{
if($name === 'setServiceVersion')
{
if (method_exists($this->paymentMethod, $name)) {
if($name === 'setServiceVersion') {
$this->paymentMethod->setServiceVersion($arguments[0]);

return $this;
Expand Down

0 comments on commit c3c3130

Please sign in to comment.