Fix doc typo for wasConnectionError()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 22 Sep 2016 22:09:55 +0000 (15:09 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 22 Sep 2016 22:10:16 +0000 (15:10 -0700)
Change-Id: I70eaeb630e2a4bb8f2940c2dcc938f7305014d48

includes/libs/rdbms/database/Database.php

index d58ffdf..66f7046 100644 (file)
@@ -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 ) {