tipo: modificación del cpanel y gitignore de la carpeta vendor
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\MysqliException;
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws MysqliException
|
||||
*
|
||||
*/
|
||||
function mysqli_get_client_stats(): array
|
||||
{
|
||||
error_clear_last();
|
||||
$safeResult = \mysqli_get_client_stats();
|
||||
if ($safeResult === false) {
|
||||
throw MysqliException::createFromPhpError();
|
||||
}
|
||||
return $safeResult;
|
||||
}
|
||||
Reference in New Issue
Block a user