Skip to content

Commit

Permalink
remove unused logic (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmax committed Sep 27, 2023
1 parent 4510109 commit e41b6c4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/WhereClause.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,6 @@ private function substitute(Connection $connection, string $expression, array $v

if (is_array($value)) {
$value_count = count($value);

if (0 === $value_count) {
if ($substitute) {
return 'NULL';
}

return self::ParameterMarker;
}

if ($substitute) {
$ret = '';

Expand Down

0 comments on commit e41b6c4

Please sign in to comment.