Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AbstractValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ protected static function _xmlStringToNativeXmlRpc($xml)
continue;
//throw new Value_Exception('Member of the '. self::XMLRPC_TYPE_STRUCT .' XML-RPC native type must contain a VALUE tag');
}
$values[(string)$member->name] = static::_xmlStringToNativeXmlRpc($member->value);
$values[(string) $member->name] = static::_xmlStringToNativeXmlRpc($member->value);
}
$xmlrpcValue = new Value\Struct($values);
break;
Expand Down
2 changes: 1 addition & 1 deletion src/Value/Base64.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct($value, $alreadyEncoded = false)
{
$this->type = self::XMLRPC_TYPE_BASE64;

$value = (string)$value; // Make sure this value is string
$value = (string) $value; // Make sure this value is string
if (!$alreadyEncoded) {
$value = base64_encode($value); // We encode it in base64
}
Expand Down

0 comments on commit b0e12bf

Please sign in to comment.