From f4dcd1b5eaea967bcbfc85059a01a6e12f7fc0fa Mon Sep 17 00:00:00 2001 From: campbell-m <87438215+campbell-m@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:57:41 +0100 Subject: [PATCH] Replace qualifier with import --- web/lib/MRBS/DBException.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/lib/MRBS/DBException.php b/web/lib/MRBS/DBException.php index 84f47f48f8..d7ea0bddf7 100644 --- a/web/lib/MRBS/DBException.php +++ b/web/lib/MRBS/DBException.php @@ -2,10 +2,12 @@ declare(strict_types=1); namespace MRBS; -class DBException extends \PDOException +use PDOException; + +class DBException extends PDOException { - public function __construct($message, $code=0, \PDOException $previous=null, $sql=null, $params=null) + public function __construct($message, $code=0, PDOException $previous=null, $sql=null, $params=null) { if (isset($sql)) {