Skip to content

Commit

Permalink
Merge pull request #9 from shaunhardy/master
Browse files Browse the repository at this point in the history
Fixed variable scoping issue which can lead to out of memory error.
  • Loading branch information
ddeboer committed Jun 13, 2014
2 parents e0ee205 + d9327e1 commit 9f014c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Phpforce/SoapClient/Soap/SoapClient.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f014c8

Please sign in to comment.