Skip to content

Commit e41b6c4

Browse files
authored
remove unused logic (#106)
1 parent 4510109 commit e41b6c4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/WhereClause.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,6 @@ private function substitute(Connection $connection, string $expression, array $v
233233

234234
if (is_array($value)) {
235235
$value_count = count($value);
236-
237-
if (0 === $value_count) {
238-
if ($substitute) {
239-
return 'NULL';
240-
}
241-
242-
return self::ParameterMarker;
243-
}
244-
245236
if ($substitute) {
246237
$ret = '';
247238

0 commit comments

Comments
 (0)