Skip to content

Commit 67c8014

Browse files
committed
Fix duplication
1 parent 836f60c commit 67c8014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/WithData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ protected function getTableForColumn(Column $column): ?string
143143

144144
protected function getQuerySql(): string
145145
{
146-
return $this->baseQuery()->toSql();
146+
return (clone $this->getBuilder())->toSql();
147147
}
148148
}

0 commit comments

Comments
 (0)