summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Database/DatabaseServiceProvider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Database/DatabaseServiceProvider.php b/src/Database/DatabaseServiceProvider.php
index 306ffaca..818b76c4 100644
--- a/src/Database/DatabaseServiceProvider.php
+++ b/src/Database/DatabaseServiceProvider.php
@@ -5,7 +5,7 @@ namespace Engelsystem\Database;
use Engelsystem\Container\ServiceProvider;
use Exception;
use Illuminate\Database\Capsule\Manager as CapsuleManager;
-use Illuminate\Events\Dispatcher as EventsDispatcher;
+use PDOException;
class DatabaseServiceProvider extends ServiceProvider
{
@@ -31,7 +31,7 @@ class DatabaseServiceProvider extends ServiceProvider
try {
$capsule->getConnection()->getPdo();
- } catch (\PDOException $e) {
+ } catch (PDOException $e) {
$this->exitOnError();
}