From b9f7eab30a0103aad8c9b822f2d01fb958efad05 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 17 Apr 2024 03:14:26 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Driver/Pdo/PdoDataReader.php | 1 + src/Query/Query.php | 1 + tests/Common/CommonCommandTest.php | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Driver/Pdo/PdoDataReader.php b/src/Driver/Pdo/PdoDataReader.php index 139f8fb3e..6ab73489a 100644 --- a/src/Driver/Pdo/PdoDataReader.php +++ b/src/Driver/Pdo/PdoDataReader.php @@ -13,6 +13,7 @@ use Yiisoft\Db\Exception\InvalidParamException; use Yiisoft\Db\Query\DataReaderInterface; use Yiisoft\Db\Query\QueryPartsInterface; + use function is_string; /** diff --git a/src/Query/Query.php b/src/Query/Query.php index 6d3875d9e..2716fb57c 100644 --- a/src/Query/Query.php +++ b/src/Query/Query.php @@ -15,6 +15,7 @@ use Yiisoft\Db\Expression\ExpressionInterface; use Yiisoft\Db\Helper\DbArrayHelper; use Yiisoft\Db\QueryBuilder\QueryBuilderInterface; + use function array_column; use function array_combine; use function array_key_exists; diff --git a/tests/Common/CommonCommandTest.php b/tests/Common/CommonCommandTest.php index ad9e60484..2822c70fb 100644 --- a/tests/Common/CommonCommandTest.php +++ b/tests/Common/CommonCommandTest.php @@ -26,6 +26,7 @@ use Yiisoft\Db\Tests\Support\Assert; use Yiisoft\Db\Tests\Support\Stub\Column; use Yiisoft\Db\Transaction\TransactionInterface; + use function call_user_func_array; use function is_string; use function setlocale;