Skip to content

Commit 65d6097

Browse files
authored
Typo arguments => args
Because of the typo you can't create services which require additional parameters like the Inventory service.
1 parent 6ea00de commit 65d6097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EbayServices.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function __construct()
1515
$this->sdk = new Sdk($config);
1616
}
1717

18-
function __call($name, $arguments)
18+
function __call($name, $args)
1919
{
2020
if (strpos($name, 'create') === 0) {
2121
$service = 'create'.substr($name, 6);
@@ -24,4 +24,4 @@ function __call($name, $arguments)
2424
}
2525
}
2626

27-
}
27+
}

0 commit comments

Comments
 (0)