Skip to content

Commit d9327e1

Browse files
committed
Fixed variable scoping issue which can lead to out of memory error.
1 parent 8112fe1 commit d9327e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Phpforce/SoapClient/Soap/SoapClient.php

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function getSoapTypes()
2626

2727
$soapTypes = $this->__getTypes();
2828
foreach ($soapTypes as $soapType) {
29+
$properties = array();
2930
$lines = explode("\n", $soapType);
3031
if (!preg_match('/struct (.*) {/', $lines[0], $matches)) {
3132
continue;

0 commit comments

Comments
 (0)