installed plugin WP-WebAuthn
version 1.2.8
This commit is contained in:
22
wp-content/plugins/wp-webauthn/vendor/thecodingmachine/safe/generated/xmlrpc.php
vendored
Normal file
22
wp-content/plugins/wp-webauthn/vendor/thecodingmachine/safe/generated/xmlrpc.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\XmlrpcException;
|
||||
|
||||
/**
|
||||
* Sets xmlrpc type, base64 or datetime, for a PHP string value.
|
||||
*
|
||||
* @param string|\DateTime $value Value to set the type
|
||||
* @param string $type 'base64' or 'datetime'
|
||||
* @throws XmlrpcException
|
||||
*
|
||||
*/
|
||||
function xmlrpc_set_type(&$value, string $type): void
|
||||
{
|
||||
error_clear_last();
|
||||
$result = \xmlrpc_set_type($value, $type);
|
||||
if ($result === false) {
|
||||
throw XmlrpcException::createFromPhpError();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user