fixed variable name
This commit is contained in:
parent
7de7ee9c6c
commit
f0d373f1b8
@ -97,7 +97,7 @@ abstract class SoapMessage
|
||||
*/
|
||||
public static function getContentTypeForVersion($version)
|
||||
{
|
||||
if (!in_array($soapVersion, array(SOAP_1_1, SOAP_1_2))) {
|
||||
if (!in_array($version, array(SOAP_1_1, SOAP_1_2))) {
|
||||
throw new \InvalidArgumentException("The 'version' argument has to be either 'SOAP_1_1' or 'SOAP_1_2'!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user