Skip to content

Commit 9f014c8

Browse files
committed
Merge pull request #9 from shaunhardy/master
Fixed variable scoping issue which can lead to out of memory error.
2 parents e0ee205 + d9327e1 commit 9f014c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)