From: jeroendedauw Date: Wed, 3 Oct 2012 16:56:31 +0000 (+0200) Subject: Improved documentation X-Git-Tag: 1.31.0-rc.0~22182^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=52249a6d5c143e680c15355974a7c9dfdc93de0d;p=lhc%2Fweb%2Fwiklou.git Improved documentation Change-Id: If17de8dadefeb6a2fdfe7073ba84553c07cec229 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 9519e50166..c082cc9811 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -228,7 +228,10 @@ abstract class DatabaseBase implements DatabaseType { protected $mConn = null; protected $mOpened = false; - /** @var Array */ + /** + * @since 1.20 + * @var array of callable + */ protected $trxIdleCallbacks = array(); protected $mTablePrefix; @@ -2860,8 +2863,9 @@ abstract class DatabaseBase implements DatabaseType { * * This is useful for updates to different systems or separate transactions are needed. * + * @since 1.20 + * * @param Closure $callback - * @return void */ final public function onTransactionIdle( Closure $callback ) { if ( $this->mTrxLevel ) { @@ -2872,7 +2876,9 @@ abstract class DatabaseBase implements DatabaseType { } /** - * Actually run the "on transaction idle" callbacks + * Actually run the "on transaction idle" callbacks. + * + * @since 1.20 */ protected function runOnTransactionIdleCallbacks() { $e = null; // last exception