Skip to content

Commit a236481

Browse files
committed
Optimization
1 parent faa370e commit a236481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatabaseManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function connection($name = null)
5353
} finally {
5454
Context::onDestroy(function () use ($connection, $name) {
5555
try {
56-
$connection && static::$pools[$name]->put($connection);
56+
$connection && static::$pools[$name]->put($connection);
5757
} catch (Throwable) {
5858
// ignore
5959
}

0 commit comments

Comments
 (0)