Update SOAPGenerator.php

Call to a member function getComplexType() on a non-object