Skip to content

Commit da7a700

Browse files
committed
style(Database): remove unused catch variable in ForgeTest
1 parent fc9e325 commit da7a700

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/system/Database/Live/ForgeTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function testCreateDatabase(): void
9191

9292
try {
9393
$this->forge->dropDatabase('test_forge_database');
94-
} catch (DatabaseException $e) {
94+
} catch (DatabaseException) {
9595
// Ignore if doesn't exist
9696
}
9797

@@ -110,7 +110,7 @@ public function testCreateDatabaseWithDots(): void
110110

111111
try {
112112
$this->forge->dropDatabase($dbName);
113-
} catch (DatabaseException $e) {
113+
} catch (DatabaseException) {
114114
// Ignore if doesn't exist
115115
}
116116

@@ -199,7 +199,7 @@ public function testDropDatabase(): void
199199

200200
try {
201201
$this->forge->createDatabase('test_forge_database');
202-
} catch (DatabaseException $e) {
202+
} catch (DatabaseException) {
203203
// Ignore if exists
204204
}
205205

0 commit comments

Comments
 (0)