Skip to content

Commit 444dd04

Browse files
committed
chore: remove unused code
1 parent 7cfa46d commit 444dd04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/QueryBuilder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -995,11 +995,9 @@ public function prepare($sql = null)
995995
$sql = $this->{'prepare' . $this->_method}();
996996
}
997997

998-
$sql = empty($this->bindings)
998+
return empty($this->bindings)
999999
|| strpos($sql, '%') === false
10001000
? $sql : Connection::prepare($sql, $this->bindings);
1001-
1002-
return str_replace("''",'NULL', $sql);
10031001

10041002
}
10051003

0 commit comments

Comments
 (0)