@@ -12,8 +12,8 @@ |
||
12 | 12 | |
13 | 13 | class NoRecordDeletionException extends Exception |
14 | 14 | { |
15 | - public static function checkNoRecordUpdateException($message) |
|
16 | - { |
|
17 | - return new static($message); |
|
18 | - } |
|
15 | + public static function checkNoRecordUpdateException($message) |
|
16 | + { |
|
17 | + return new static($message); |
|
18 | + } |
|
19 | 19 | } |
@@ -21,8 +21,8 @@ discard block |
||
21 | 21 | |
22 | 22 | public function __construct() |
23 | 23 | { |
24 | - $this->loadEnv(); // load the environment variables |
|
25 | - $this->databaseName = getenv('databaseName'); |
|
24 | + $this->loadEnv(); // load the environment variables |
|
25 | + $this->databaseName = getenv('databaseName'); |
|
26 | 26 | $this->databaseHost = getenv('databaseHost'); |
27 | 27 | $this->databaseDriver = getenv('databaseDriver'); |
28 | 28 | $this->databaseUsername = getenv('databaseUsername'); |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | { |
79 | 79 | if (!getenv("APP_ENV")) { |
80 | 80 | $dotenv = new Dotenv(__DIR__.'/../../'); |
81 | - $dotenv->load(); |
|
81 | + $dotenv->load(); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | } |