Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 366661f

Browse files
committed
Removed unused condition part
It is not possible to have there Countable element. Please note it was not even imported so it was not working at all.
1 parent f59c421 commit 366661f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sql/AbstractSql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected function createSqlFromSpecificationAndParameters($specifications, $par
241241
if (isset($paramSpecs[$position]['combinedby'])) {
242242
$multiParamValues = [];
243243
foreach ($paramsForPosition as $multiParamsForPosition) {
244-
if (is_array($multiParamsForPosition) || $multiParamsForPosition instanceof Countable) {
244+
if (is_array($multiParamsForPosition)) {
245245
$ppCount = count($multiParamsForPosition);
246246
} else {
247247
$ppCount = 1;

0 commit comments

Comments
 (0)