Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/SQLStore/PropertyTableIdReferenceFinder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@  discard block
 block discarded – undo
154 154
 		return $reference === false || $reference === null ? false : $reference;
155 155
 	}
156 156
 
157
+	/**
158
+	 * @param integer $id
159
+	 */
157 160
 	private function findReferenceByPropertyTable( $proptable, $id ) {
158 161
 
159 162
 		$row = false;
@@ -206,6 +209,9 @@  discard block
 block discarded – undo
206 209
 		return $row;
207 210
 	}
208 211
 
212
+	/**
213
+	 * @param integer $id
214
+	 */
209 215
 	private function findReferenceByQueryLinksTable( $id ) {
210 216
 
211 217
 		// If the query table contains a reference then we keep the object (could
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/EntityIdListRelevanceDetectionFilter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -187,6 +187,9 @@
 block discarded – undo
187 187
 		}
188 188
 	}
189 189
 
190
+	/**
191
+	 * @param string $message
192
+	 */
190 193
 	private function log( $message, $context = array() ) {
191 194
 
192 195
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryDependencyLinksStore.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -404,6 +404,9 @@
 block discarded – undo
404 404
 		return $row !== false && $suppressUpdateCache[$hash] > wfTimestamp( TS_MW );
405 405
 	}
406 406
 
407
+	/**
408
+	 * @param string $message
409
+	 */
407 410
 	private function log( $message, $context = array() ) {
408 411
 
409 412
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/ConceptQuerySegmentBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	/**
97 97
 	 * @since 2.2
98 98
 	 *
99
-	 * @return array
99
+	 * @return string[]
100 100
 	 */
101 101
 	public function getErrors() {
102 102
 		return $this->querySegmentListBuilder->getErrors();
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/Fulltext/SearchTableRebuilder.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 *
101 101
 	 * @since 2.5
102 102
 	 *
103
-	 * @return boolean
103
+	 * @return null|boolean
104 104
 	 */
105 105
 	public function rebuild() {
106 106
 
@@ -268,6 +268,9 @@  discard block
 block discarded – undo
268 268
 		$this->doRebuildFromRows( $searchTable, $table, $pid, $rows );
269 269
 	}
270 270
 
271
+	/**
272
+	 * @param SearchTable $searchTable
273
+	 */
271 274
 	private function doRebuildFromRows( $searchTable, $table, $pid, $rows ) {
272 275
 
273 276
 		$i = 0;
@@ -309,6 +312,9 @@  discard block
 block discarded – undo
309 312
 		$this->reportMessage( "\n" );
310 313
 	}
311 314
 
315
+	/**
316
+	 * @param string $message
317
+	 */
312 318
 	private function reportMessage( $message, $verbose = true ) {
313 319
 		if ( $verbose ) {
314 320
 			$this->messageReporter->reportMessage( $message );
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/Fulltext/TextSanitizer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -148,6 +148,9 @@
 block discarded – undo
148 148
 		return $text;
149 149
 	}
150 150
 
151
+	/**
152
+	 * @param string $text
153
+	 */
151 154
 	private function predictLanguage( $text ) {
152 155
 
153 156
 		if ( $this->languageDetection === array() ) {
Please login to merge, or discard this patch.
src/SQLStore/TableBuilder/PostgresTableBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -247,6 +247,9 @@  discard block
 block discarded – undo
247 247
 		}
248 248
 	}
249 249
 
250
+	/**
251
+	 * @param string $tableName
252
+	 */
250 253
 	private function doDropObsoleteIndicies( $tableName, array &$indicies ) {
251 254
 
252 255
 		$tableName = $this->connection->tableName( $tableName, 'raw' );
@@ -268,6 +271,9 @@  discard block
 block discarded – undo
268 271
 		}
269 272
 	}
270 273
 
274
+	/**
275
+	 * @param string $tableName
276
+	 */
271 277
 	private function doCreateIndex( $tableName, $indexType, $indexName, $columns, array $indexOptions ) {
272 278
 
273 279
 		if ( $indexType === 'FULLTEXT' ) {
Please login to merge, or discard this patch.
src/StringCondition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	/**
61 61
 	 * @since 1.0
62 62
 	 *
63
-	 * @param srting $string
63
+	 * @param string $string
64 64
 	 * @param integer $condition
65 65
 	 * @param boolean $isDisjunctiveCondition
66 66
 	 */
Please login to merge, or discard this patch.
tests/phpunit/Integration/JSONScript/QueryTestCaseInterpreter.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	/**
100 100
 	 * @since 2.5
101 101
 	 *
102
-	 * @return boolean
102
+	 * @return boolean|null
103 103
 	 */
104 104
 	public function isFromCache() {
105 105
 		return isset( $this->contents['assert-queryresult']['isFromCache'] ) ? (bool)$this->contents['assert-queryresult']['isFromCache'] : null;
@@ -273,6 +273,7 @@  discard block
 block discarded – undo
273 273
 	/**
274 274
 	 * @since 2.2
275 275
 	 *
276
+	 * @param string $id
276 277
 	 * @return array
277 278
 	 */
278 279
 	public function getExpectedFormatOuputFor( $id ) {
Please login to merge, or discard this patch.