From 411d486282517956ae32976cabe2cda07ad887ab Mon Sep 17 00:00:00 2001 From: GENL <36866702+GENL@users.noreply.github.com> Date: Wed, 23 Sep 2020 18:47:35 +0100 Subject: [PATCH] Fix: The database name is displayed when the TenantDatabaseAlreadyExistsException exception is thrown. (#499) * Fix: The database name is displayed when the TenantDatabaseAlreadyExistsException exception is thrown. * Fix the code style Co-authored-by: Henrich --- src/Exceptions/TenantDatabaseAlreadyExistsException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Exceptions/TenantDatabaseAlreadyExistsException.php b/src/Exceptions/TenantDatabaseAlreadyExistsException.php index 036067304..4c08b66e0 100644 --- a/src/Exceptions/TenantDatabaseAlreadyExistsException.php +++ b/src/Exceptions/TenantDatabaseAlreadyExistsException.php @@ -18,8 +18,8 @@ public function reason(): string public function __construct(string $database) { - parent::__construct(); - $this->database = $database; + + parent::__construct(); } }