File "LibeventException.php"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/.wp-cli/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin/vendor/thecodingmachine/safe/deprecated/Exceptions/LibeventException.php
File size: 311 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace Safe\Exceptions;

class LibeventException extends \ErrorException implements SafeExceptionInterface
{
    public static function createFromPhpError(): self
    {
        $error = error_get_last();
        return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
    }
}