Completed
Branch master (425ee1)
by
unknown
27:09
created
includes/db/DatabaseMysqlBase.php 1 patch
Doc Comments   +11 added lines, -5 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
 	/**
243 243
 	 * @param ResultWrapper|resource $res
244
-	 * @return stdClass|bool
244
+	 * @return stdClass
245 245
 	 * @throws DBUnexpectedError
246 246
 	 */
247 247
 	function fetchObject( $res ) {
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 	/**
377 377
 	 * Get the name of the specified field in a result
378 378
 	 *
379
-	 * @param ResultWrapper|resource $res
379
+	 * @param resource $res
380 380
 	 * @param int $n
381 381
 	 * @return string
382 382
 	 */
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
 	/**
400 400
 	 * Get the type of the specified field in a result
401 401
 	 *
402
-	 * @param ResultWrapper|resource $res
402
+	 * @param resource $res
403 403
 	 * @param int $n
404 404
 	 * @return string
405 405
 	 */
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
 	/**
422 422
 	 * Move internal result pointer
423 423
 	 *
424
-	 * @param ResultWrapper|resource $res
424
+	 * @param resource $res
425 425
 	 * @param int $row
426 426
 	 * @return bool
427 427
 	 */
@@ -835,7 +835,7 @@  discard block
 block discarded – undo
835 835
 	/**
836 836
 	 * Get the position of the master from SHOW SLAVE STATUS
837 837
 	 *
838
-	 * @return MySQLMasterPos|bool
838
+	 * @return DBMasterPos
839 839
 	 */
840 840
 	function getSlavePos() {
841 841
 		$res = $this->query( 'SHOW SLAVE STATUS', __METHOD__ );
@@ -1016,6 +1016,9 @@  discard block
 block discarded – undo
1016 1016
 		return false;
1017 1017
 	}
1018 1018
 
1019
+	/**
1020
+	 * @param string $lockName
1021
+	 */
1019 1022
 	private function makeLockName( $lockName ) {
1020 1023
 		// http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_get-lock
1021 1024
 		// Newer version enforce a 64 char length limit.
@@ -1371,6 +1374,9 @@  discard block
 block discarded – undo
1371 1374
 		$is_pk, $is_unique, $is_multiple, $is_key, $type, $binary,
1372 1375
 		$is_numeric, $is_blob, $is_unsigned, $is_zerofill;
1373 1376
 
1377
+	/**
1378
+	 * @param stdClass $info
1379
+	 */
1374 1380
 	function __construct( $info ) {
1375 1381
 		$this->name = $info->name;
1376 1382
 		$this->tablename = $info->table;
Please login to merge, or discard this patch.