mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Update comments
This commit is contained in:
parent
91ac7ba018
commit
d7965a01b8
302 changed files with 56587 additions and 763 deletions
22
vendor/thecodingmachine/safe/generated/xmlrpc.php
vendored
Normal file
22
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();
|
||||
$safeResult = \xmlrpc_set_type($value, $type);
|
||||
if ($safeResult === false) {
|
||||
throw XmlrpcException::createFromPhpError();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue