Files
eCert-MBIP/vendor/thecodingmachine/safe/generated/8.1/xmlrpc.php

21 lines
382 B
PHP

<?php
namespace Safe;
use Safe\Exceptions\XmlrpcException;
/**
* @param \DateTime|string $value
* @param string $type
* @throws XmlrpcException
*
*/
function xmlrpc_set_type(&$value, string $type): void
{
error_clear_last();
$safeResult = \xmlrpc_set_type($value, $type);
if ($safeResult === false) {
throw XmlrpcException::createFromPhpError();
}
}