From c4ff83309ffee7baad7b7faae356357c5ecf62c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Sat, 19 Jan 2019 11:02:21 +0800 Subject: [PATCH] Fixed bug for mysql connection work not expect in not-coroutine. --- src/db-connection/src/Context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db-connection/src/Context.php b/src/db-connection/src/Context.php index eab8f3236..6767a2587 100644 --- a/src/db-connection/src/Context.php +++ b/src/db-connection/src/Context.php @@ -49,7 +49,7 @@ class Context $connection = $connections[$name]; if (! $connection instanceof PoolConnectionInterface) { $this->logger->warning(sprintf( - 'Connection[] is not instanceof %s', + 'Connection[%s] is not instanceof %s', get_class($connection), PoolConnectionInterface::class ));