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 bfc226e commit 7e87e01Copy full SHA for 7e87e01
src/Databases/MySQL.php
@@ -88,7 +88,7 @@ public function prepare($query) {
88
* @return int
89
*/
90
public function exec($query, array $params = array()) {
91
- $this->exceptionHandler(function () use ($query, $params) {
+ return $this->exceptionHandler(function () use ($query, $params) {
92
$stmt = $this->pdo->prepare($query);
93
$timer = microtime(true);
94
$stmt->execute($params);
0 commit comments