Skip to content

Commit 8135178

Browse files
committed
Applied replace conditionals to query insteal of self
1 parent 78aac84 commit 8135178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mapping.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ private function replace(array $data, array $original, array $deleteIds = [])
298298
}
299299

300300
if (is_null($data[$column])) {
301-
$this->isNull($column);
301+
$query->isNull($column);
302302
} else {
303-
$this->eq($column, $data[$column]);
303+
$query->eq($column, $data[$column]);
304304
}
305305
}
306306

0 commit comments

Comments
 (0)