Skip to content

Commit 8ac9ad1

Browse files
committed
Added $tries to Database::transaction
1 parent c3f7ef5 commit 8ac9ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Databases/MySQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public function transaction($tries = 1, $callback = null) {
246246
$callback = $tries;
247247
$tries = 1;
248248
} elseif(!is_callable($callback)) {
249-
throw new \Exception("Callable must be a callable");
249+
throw new \Exception('$callback must be a callable');
250250
}
251251
$e = null;
252252
for(; $tries--;) {

0 commit comments

Comments
 (0)