Skip to content

Commit 72ca57f

Browse files
committed
using empty for logEntry
1 parent 913479b commit 72ca57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LoggedStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function bindValue(
4545
/** @var int|string $parameter */
4646
$result = parent::bindValue($parameter, $value, $dataType);
4747

48-
if ($result && $this->logEntry !== null) {
48+
if ($result && !empty($this->logEntry)) {
4949
$this->logEntry['values'][$parameter] = $value;
5050
}
5151

0 commit comments

Comments
 (0)