Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/Localizer.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 	/**
135 135
 	 * @since 2.4
136 136
 	 *
137
-	 * @param Language|string $languageCode
137
+	 * @param Language|string $language
138 138
 	 *
139 139
 	 * @return ExtraneousLanguage
140 140
 	 */
@@ -252,7 +252,6 @@  discard block
 block discarded – undo
252 252
 	/**
253 253
 	 * @since 2.5
254 254
 	 *
255
-	 * @param integer $ns
256 255
 	 * @param string $url
257 256
 	 *
258 257
 	 * @return string
Please login to merge, or discard this patch.
includes/dataitems/SMW_DI_WikiPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
 	/**
188 188
 	 * @since 2.5
189 189
 	 *
190
-	 * @return string
190
+	 * @return integer
191 191
 	 */
192 192
 	public function getId() {
193 193
 		return $this->id;
Please login to merge, or discard this patch.
src/SQLStore/TableBuilder/MySQLTableBuilder.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -166,12 +166,18 @@  discard block
 block discarded – undo
166 166
 		}
167 167
 	}
168 168
 
169
+	/**
170
+	 * @param string|false $fieldType
171
+	 */
169 172
 	private function doCreateField( $tableName, $fieldName, $position, $fieldType ) {
170 173
 		$this->reportMessage( "   ... creating field $fieldName ... " );
171 174
 		$this->connection->query( "ALTER TABLE $tableName ADD `$fieldName` $fieldType $position", __METHOD__ );
172 175
 		$this->reportMessage( "done.\n" );
173 176
 	}
174 177
 
178
+	/**
179
+	 * @param string|false $newFieldType
180
+	 */
175 181
 	private function doUpdateFieldType( $tableName, $fieldName, $position, $oldFieldType, $newFieldType ) {
176 182
 		$this->reportMessage( "   ... changing type of field $fieldName from '$oldFieldType' to '$newFieldType' ... " );
177 183
 
@@ -227,6 +233,9 @@  discard block
 block discarded – undo
227 233
 		}
228 234
 	}
229 235
 
236
+	/**
237
+	 * @param string $tableName
238
+	 */
230 239
 	private function doDropObsoleteIndicies( $tableName, array &$indicies ) {
231 240
 
232 241
 		$tableName = $this->connection->tableName( $tableName );
@@ -281,6 +290,9 @@  discard block
 block discarded – undo
281 290
 		$this->reportMessage( "done.\n" );
282 291
 	}
283 292
 
293
+	/**
294
+	 * @param string $tableName
295
+	 */
284 296
 	private function doCreateIndex( $tableName, $indexType, $indexName, $columns, array $indexOptions ) {
285 297
 
286 298
 		$tableName = $this->connection->tableName( $tableName );
Please login to merge, or discard this patch.
src/SQLStore/TableBuilder/SQLiteTableBuilder.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -157,6 +157,9 @@  discard block
 block discarded – undo
157 157
 		}
158 158
 	}
159 159
 
160
+	/**
161
+	 * @param string|false $fieldType
162
+	 */
160 163
 	private function doCreateField( $tableName, $fieldName, $position, $fieldType ) {
161 164
 
162 165
 		if ( strpos( $tableName, 'ft_search' ) !== false ) {
@@ -168,6 +171,9 @@  discard block
 block discarded – undo
168 171
 		$this->reportMessage( "done.\n" );
169 172
 	}
170 173
 
174
+	/**
175
+	 * @param string|false $newFieldType
176
+	 */
171 177
 	private function doUpdateFieldType( $tableName, $fieldName, $position, $oldFieldType, $newFieldType ) {
172 178
 		$this->reportMessage( "   ... changing field type is not supported in SQLite (http://www.sqlite.org/omitted.html) \n" );
173 179
 		$this->reportMessage( "       Please delete and reinitialize the tables to remove obsolete data, or just keep it.\n" );
@@ -209,6 +215,9 @@  discard block
 block discarded – undo
209 215
 		}
210 216
 	}
211 217
 
218
+	/**
219
+	 * @param string $tableName
220
+	 */
212 221
 	private function doDropObsoleteIndicies( $tableName, array &$indicies ) {
213 222
 
214 223
 		$currentIndicies = $this->getIndexInfo( $tableName );
@@ -249,6 +258,9 @@  discard block
 block discarded – undo
249 258
 		$this->reportMessage( "done.\n" );
250 259
 	}
251 260
 
261
+	/**
262
+	 * @param string $tableName
263
+	 */
252 264
 	private function doCreateIndex( $tableName, $indexType, $indexName, $columns, array $indexOptions ) {
253 265
 
254 266
 		if ( $indexType === 'FULLTEXT' ) {
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/FulltextSearchTableFactory.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,9 +54,8 @@
 block discarded – undo
54 54
 	/**
55 55
 	 * @since 2.5
56 56
 	 *
57
-	 * @param SQLStore $store
58 57
 	 *
59
-	 * @return SearchTable
58
+	 * @return TextSanitizer
60 59
 	 */
61 60
 	public function newTextSanitizer() {
62 61
 
Please login to merge, or discard this patch.
src/SQLStore/EntityStore/CachedEntityLookup.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -402,6 +402,10 @@
 block discarded – undo
402 402
 		) . $suffix );
403 403
 	}
404 404
 
405
+	/**
406
+	 * @param string $id
407
+	 * @param DIWikiPage $subject
408
+	 */
405 409
 	private function appendToList( $id, $subject ) {
406 410
 
407 411
 		// Store the id with the main subject
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryResultDependencyListResolver.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -232,6 +232,9 @@
 block discarded – undo
232 232
 		}
233 233
 	}
234 234
 
235
+	/**
236
+	 * @param DIWikiPage|null $subject
237
+	 */
235 238
 	private function doMatchSubproperty( &$subjects, $subject, DIProperty $property ) {
236 239
 
237 240
 		$subproperties = array();
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 use SMW\Query\Language\SomeProperty;
14 14
 use SMW\Query\Language\ThingDescription;
15 15
 use SMW\Query\Language\ValueDescription;
16
-use SMW\Store;
17
-use SMWQuery as Query;
18 16
 use SMWQueryResult as QueryResult;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
src/Factbox/CachedFactbox.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,8 @@  discard block
 block discarded – undo
79 79
 	/**
80 80
 	 * @since 2.5
81 81
 	 *
82
-	 * @return boolean
82
+	 * @param integer $expiryInSeconds
83
+	 * @return boolean|null
83 84
 	 */
84 85
 	public function setExpiryInSeconds( $expiryInSeconds ) {
85 86
 		$this->expiryInSeconds = $expiryInSeconds;
@@ -88,7 +89,7 @@  discard block
 block discarded – undo
88 89
 	/**
89 90
 	 * @since 2.5
90 91
 	 *
91
-	 * @return boolean
92
+	 * @return boolean|null
92 93
 	 */
93 94
 	public function isEnabled( $isEnabled ) {
94 95
 		$this->isEnabled = $isEnabled;
@@ -280,6 +281,7 @@  discard block
 block discarded – undo
280 281
 	/**
281 282
 	 * Cached content is serialized in an associative array following:
282 283
 	 * { 'revId' => $revisionId, 'text' => (...) }
284
+	 * @param string $key
283 285
 	 */
284 286
 	private function saveToCache( $key, array $content ) {
285 287
 
Please login to merge, or discard this patch.
src/MediaWiki/Specials/SearchByProperty/PageRequestOptions.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -119,6 +119,10 @@  discard block
 block discarded – undo
119 119
 		$this->setNearbySearch();
120 120
 	}
121 121
 
122
+	/**
123
+	 * @param string $value
124
+	 * @param boolean $escaped
125
+	 */
122 126
 	private function getValue( $value, $escaped ) {
123 127
 
124 128
 		$this->value = DataValueFactory::getInstance()->newDataValueByProperty(
@@ -131,6 +135,9 @@  discard block
 block discarded – undo
131 135
 		return $this->value->isValid() ? $this->value->getWikiValue() : $value;
132 136
 	}
133 137
 
138
+	/**
139
+	 * @return string
140
+	 */
134 141
 	private function unescape( $value, $escaped ) {
135 142
 
136 143
 		if ( $this->value instanceof NumberValue ) {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use SMW\DataValueFactory;
6 6
 use SMW\DataValues\TelephoneUriValue;
7
-use SMWUriValue as UriValue;
8 7
 use SMW\UrlEncoder;
9 8
 use SMWNumberValue as NumberValue;
10 9
 use SMWPropertyValue as PropertyValue;
11
-use SMWStringValue as TextValue;
12 10
 
13 11
 /**
14 12
  * @license GNU GPL v2+
Please login to merge, or discard this patch.