We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c785649 commit d82cfc9Copy full SHA for d82cfc9
src/Builder/RunnableSelect.php
@@ -161,7 +161,7 @@ private function createStatement() {
161
$statement = $db->prepare($query);
162
$statement->execute($this->values);
163
if($this->getCalcFoundRows()) {
164
- $this->foundRows = $db->query('SELECT FOUND_ROWS()')->fetchColumn();
+ $this->foundRows = (int) $db->query('SELECT FOUND_ROWS()')->fetchColumn();
165
}
166
return $statement;
167
0 commit comments