fixed variable name

This commit is contained in:
Andreas Schamberger 2011-12-17 17:52:35 +01:00
parent 7de7ee9c6c
commit f0d373f1b8
1 changed files with 1 additions and 1 deletions

View File

@ -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'!");
}