Closed SpinyMan closed 5 years ago
Hi @SpinyMan I'm unable to reproduce your issue. Can you share a reproducible example and the error message you're getting? This part of the SDK hasn't been changed recently, and we haven't received similar reports from other merchants, so we're curious how this issue is manifesting for you.
Did some digging, and it looks like PHP function names are not case sensitive: https://tutorialsclass.com/faq/is-php-a-case-sensitive-language
In PHP, Variable names are case-sensitive but function names are not case sensitive.
Explanation:
If you defined variable in lowercase, then you need to use it in lowercase everywhere in program. If we define a variable $name = "James"; then we must need to use $name. $NAME will not work If you defined function name in lowercase, but calling them in uppercase it will work. For example, If we define function sum() {} then calling SUM() will also work.
What version of PHP are you running? Has that behavior changed recently?
General information
Issue description
I am trying to search transaction by id and get an error.
Braintree\IsNode
has a methodtoParam()
(camelCase) butBraintree\TransactionGateway
methodsearch
trying to calltoparam()
(lowercase):Could you please fix it ASAP?