From: Siebrand Mazeland Date: Mon, 6 Jan 2014 18:41:54 +0000 (+0100) Subject: Update formatting X-Git-Tag: 1.31.0-rc.0~17306^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=aa4d6e1f2ef1b6e2325da000d62a322898e7cfee;p=lhc%2Fweb%2Fwiklou.git Update formatting Change-Id: I27e43c19906edc732b4976b8426ed34bad63622b --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 57575ec881..2042530549 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2688,8 +2688,8 @@ abstract class DatabaseBase implements IDatabase, DatabaseType { * @throws Exception * @return bool */ - public function upsert( - $table, array $rows, array $uniqueIndexes, array $set, $fname = __METHOD__ + public function upsert( $table, array $rows, array $uniqueIndexes, array $set, + $fname = __METHOD__ ) { if ( !count( $rows ) ) { return true; // nothing to do diff --git a/includes/db/DatabaseMysqlBase.php b/includes/db/DatabaseMysqlBase.php index 091896cd66..0c2e472fbe 100644 --- a/includes/db/DatabaseMysqlBase.php +++ b/includes/db/DatabaseMysqlBase.php @@ -940,8 +940,8 @@ abstract class DatabaseMysqlBase extends DatabaseBase { * @param string $fname * @return bool */ - public function upsert( - $table, array $rows, array $uniqueIndexes, array $set, $fname = __METHOD__ + public function upsert( $table, array $rows, array $uniqueIndexes, + array $set, $fname = __METHOD__ ) { if ( !count( $rows ) ) { return true; // nothing to do