File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -770,15 +770,16 @@ public function showDatabases(): array;
770770 public function setRawSql (string $ sql ): static ;
771771
772772 /**
773- * Sets a Closure (anonymous function) that's called when a database exception is thrown when executing the
774- * command. The signature of the Closure should be:
773+ * Sets a Closure (anonymous function) which called when a database exception is thrown when executing the command.
774+ *
775+ * The signature of the Closure should be:
775776 *
776777 * ```php
777778 * use Yiisoft\Db\Exception\Exception;
778779 *
779780 * function (Exception $e, int $attempt): bool
780781 * {
781- * // return true or false (whether to retry the command or rethrow $e)
782+ * // return true or false (whether to retry the command or throw $e)
782783 * }
783784 * ```
784785 *
You can’t perform that action at this time.
0 commit comments