From: Aaron Schulz Date: Thu, 22 Sep 2016 22:09:55 +0000 (-0700) Subject: Fix doc typo for wasConnectionError() X-Git-Tag: 1.31.0-rc.0~5373^2 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=956967415397d64f7c67259f190e8122a0b32506;p=lhc%2Fweb%2Fwiklou.git Fix doc typo for wasConnectionError() Change-Id: I70eaeb630e2a4bb8f2940c2dcc938f7305014d48 --- 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 ) {