From 956967415397d64f7c67259f190e8122a0b32506 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 22 Sep 2016 15:09:55 -0700 Subject: [PATCH] Fix doc typo for wasConnectionError() Change-Id: I70eaeb630e2a4bb8f2940c2dcc938f7305014d48 --- includes/libs/rdbms/database/Database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/libs/rdbms/database/Database.php b/includes/libs/rdbms/database/Database.php index d58ffdf2a6..66f7046b0d 100644 --- a/includes/libs/rdbms/database/Database.php +++ b/includes/libs/rdbms/database/Database.php @@ -2435,7 +2435,7 @@ abstract class Database implements IDatabase, LoggerAwareInterface { } /** - * Do no use the class outside of Database/DBError classes + * Do not use this method outside of Database/DBError classes * * @param integer|string $errno * @return bool Whether the given query error was a connection drop @@ -3263,8 +3263,8 @@ abstract class Database implements IDatabase, LoggerAwareInterface { /** * Called by sourceStream() to check if we've reached a statement end * - * @param string $sql SQL assembled so far - * @param string $newLine New line about to be added to $sql + * @param string &$sql SQL assembled so far + * @param string &$newLine New line about to be added to $sql * @return bool Whether $newLine contains end of the statement */ public function streamStatementEnd( &$sql, &$newLine ) { -- 2.20.1