X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fdao%2FDBAccessBase.php;h=01814c1022701c2eab4d002a6ac33a55287ff280;hb=bb8608c98a3d677d8557dd7056a7434c7c38c055;hp=2a0fde37ca0e3c79896f2a288a2aa8a04737e87c;hpb=6abd85ca9210551ad8f09d2d2424350fc0b21cb3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/dao/DBAccessBase.php b/includes/dao/DBAccessBase.php index 2a0fde37ca..01814c1022 100644 --- a/includes/dao/DBAccessBase.php +++ b/includes/dao/DBAccessBase.php @@ -29,7 +29,7 @@ */ abstract class DBAccessBase implements IDBAccessObject { /** - * @var String|bool $wiki The target wiki's name. This must be an ID + * @var string|bool $wiki The target wiki's name. This must be an ID * that LBFactory can understand. */ protected $wiki = false; @@ -55,7 +55,7 @@ abstract class DBAccessBase implements IDBAccessObject { * * @return DatabaseBase */ - protected function getConnection( $id, $groups = array() ) { + protected function getConnection( $id, $groups = [] ) { $loadBalancer = wfGetLB( $this->wiki ); return $loadBalancer->getConnection( $id, $groups, $this->wiki ); @@ -68,7 +68,7 @@ abstract class DBAccessBase implements IDBAccessObject { * * @since 1.21 * - * @param DatabaseBase $db the database connection to release. + * @param DatabaseBase $db The database connection to release. */ protected function releaseConnection( DatabaseBase $db ) { if ( $this->wiki !== false ) {