From d9327e166cd19ec94f9e14a70b8b752c55ee86d9 Mon Sep 17 00:00:00 2001 From: Shaun Hardy Date: Thu, 12 Jun 2014 08:40:40 -0700 Subject: [PATCH] Fixed variable scoping issue which can lead to out of memory error. --- src/Phpforce/SoapClient/Soap/SoapClient.php | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 src/Phpforce/SoapClient/Soap/SoapClient.php diff --git a/src/Phpforce/SoapClient/Soap/SoapClient.php b/src/Phpforce/SoapClient/Soap/SoapClient.php old mode 100644 new mode 100755 index bb2ecea..bd90617 --- a/src/Phpforce/SoapClient/Soap/SoapClient.php +++ b/src/Phpforce/SoapClient/Soap/SoapClient.php @@ -26,6 +26,7 @@ public function getSoapTypes() $soapTypes = $this->__getTypes(); foreach ($soapTypes as $soapType) { + $properties = array(); $lines = explode("\n", $soapType); if (!preg_match('/struct (.*) {/', $lines[0], $matches)) { continue;