Skip to content

Commit

Permalink
Document callable params [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymakinen committed Dec 26, 2017
1 parent 56e3032 commit a3a3d1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/db/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,9 @@ protected function requireTransaction($isolationLevel = null)
* }
* ```
*
* The callable will recieve a database exception thrown and a current attempt
* (to execute the command) number starting from 1.
*
* @param callable $handler a PHP callback to handle database exceptions.
* @return $this this command instance.
* @since 2.0.14
Expand Down

0 comments on commit a3a3d1d

Please sign in to comment.