From ed86172814c02747b7036745f0411e34998c6f4a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 6 May 2010 05:59:31 +0000 Subject: #331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting. --- includes/database/mysql/query.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/database/mysql') diff --git a/includes/database/mysql/query.inc b/includes/database/mysql/query.inc index 032508870..843e22dfd 100644 --- a/includes/database/mysql/query.inc +++ b/includes/database/mysql/query.inc @@ -34,7 +34,7 @@ class InsertQuery_mysql extends InsertQuery { $values = $this->fromQuery->getArguments(); } - $last_insert_id = $this->connection->query((string)$this, $values, $this->queryOptions); + $last_insert_id = $this->connection->query((string) $this, $values, $this->queryOptions); // Re-initialize the values array so that we can re-use this query. $this->insertValues = array(); @@ -138,7 +138,7 @@ class MergeQuery_mysql extends MergeQuery { // // @link http ://dev.mysql.com/doc/refman/5.0/en/mysql-affected-rows.html $this->queryOptions['return'] = Database::RETURN_AFFECTED; - return $this->connection->query((string)$this, $values, $this->queryOptions); + return $this->connection->query((string) $this, $values, $this->queryOptions); } -- cgit v1.2.3