Skip to content

Commit 3f643a5

Browse files
committed
类型修正
1 parent 2d6dabb commit 3f643a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pool/Db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class Db extends \think\Db
1515
{
1616

17-
protected function createConnection(string $name): ConnectionInterface
17+
protected function createConnection($name): ConnectionInterface
1818
{
1919
return new Connection(new class(function () use ($name) {
2020
return parent::createConnection($name);

0 commit comments

Comments
 (0)