From 27ad79fd14b2af0749228df325a90dcd57608682 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 30 Mar 2024 02:11:36 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Expression/ExpressionBuilder.php | 1 - tests/Provider/SqlParserProvider.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Expression/ExpressionBuilder.php b/src/Expression/ExpressionBuilder.php index af4998357..51b82787f 100644 --- a/src/Expression/ExpressionBuilder.php +++ b/src/Expression/ExpressionBuilder.php @@ -88,7 +88,6 @@ private function appendParams(string $sql, array &$expressionParams, array &$par /** @var non-empty-string $name */ foreach ($nonUniqueParams as $name => $value) { - $paramName = $name[0] === ':' ? substr($name, 1) : $name; $uniqueName = $this->getUniqueName($paramName, $params); diff --git a/tests/Provider/SqlParserProvider.php b/tests/Provider/SqlParserProvider.php index c49bbcd4b..2dcd65d1b 100644 --- a/tests/Provider/SqlParserProvider.php +++ b/tests/Provider/SqlParserProvider.php @@ -15,7 +15,7 @@ public static function getNextPlaceholder(): array null, ], [ - "SELECT * FROM {{customer}} WHERE name = ::name", + 'SELECT * FROM {{customer}} WHERE name = ::name', null, null, ],