From ac78cc5ae75d3b3a07e4a2fecb51dd7be0d575ac Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 5 Aug 2020 22:41:29 +0700 Subject: [PATCH] Bug fix: add missing break; on switch case --- src/Models/DB.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Models/DB.php b/src/Models/DB.php index f8274de..30b0917 100644 --- a/src/Models/DB.php +++ b/src/Models/DB.php @@ -19,8 +19,10 @@ public function __construct(Manager $capsule, Config $config) break; case 'Postgre': $this->driver = 'pgsql'; + break; case 'SQLite3': $this->driver = 'sqlite'; + break; default: $this->driver = 'mysql'; break; @@ -44,4 +46,4 @@ public function __construct(Manager $capsule, Config $config) $capsule->bootEloquent(); } -} \ No newline at end of file +}