Skip to content

Commit

Permalink
Update src/Query/Builder.php
Browse files Browse the repository at this point in the history
Co-authored-by: halnique <shunsuke4dev@gmail.com>
  • Loading branch information
taka-oyama and halnique authored Jul 31, 2023
1 parent eb66527 commit 889eee9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ protected function runSelect()
$options += $this->timestampBound->transactionOptions();
}

return count($options) > 0
? $this->connection->selectWithOptions($sql, $bindings, $options)
: $this->connection->select($sql, $bindings);
return $this->connection->selectWithOptions($sql, $bindings, $options);
}
}

0 comments on commit 889eee9

Please sign in to comment.