Skip to content

Commit

Permalink
Fix #7
Browse files Browse the repository at this point in the history
  • Loading branch information
kissifrot committed Apr 15, 2023
1 parent 3f477ba commit 45f6e4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Message/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct($code, $message)

public function getXml()
{
$xml = <<<EOD
return <<<EOD
<methodResponse>
<fault>
<value>
Expand All @@ -38,6 +38,5 @@ public function getXml()
</fault>
</methodResponse>
EOD;
return $xml;
}
}
2 changes: 1 addition & 1 deletion src/Message/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function parse()
public function tagOpen($parser, $tag, $attr)
{
$this->_currentTagContents = '';
$this->currentTag = $tag;
$this->_currentTag = $tag;
switch ($tag) {
case 'methodCall':
case 'methodResponse':
Expand Down

0 comments on commit 45f6e4d

Please sign in to comment.