diff options
Diffstat (limited to 'vendor/thecodingmachine/safe/generated/Exceptions/MysqliException.php')
-rw-r--r-- | vendor/thecodingmachine/safe/generated/Exceptions/MysqliException.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vendor/thecodingmachine/safe/generated/Exceptions/MysqliException.php b/vendor/thecodingmachine/safe/generated/Exceptions/MysqliException.php deleted file mode 100644 index 4cadf6ca1..000000000 --- a/vendor/thecodingmachine/safe/generated/Exceptions/MysqliException.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -namespace Safe\Exceptions; - -class MysqliException 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); - } -} |