Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
src/Exporter/DataItemToExpResourceEncoder.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -177,6 +177,10 @@  discard block
 block discarded – undo
177 177
 		return $resource;
178 178
 	}
179 179
 
180
+	/**
181
+	 * @param DIWikiPage $diWikiPage
182
+	 * @param string $modifier
183
+	 */
180 184
 	private function newExpNsResource( $diWikiPage, $modifier ) {
181 185
 
182 186
 		 $importDataItem = $this->tryToFindImportDataItem( $diWikiPage, $modifier );
@@ -254,6 +258,9 @@  discard block
 block discarded – undo
254 258
 		);
255 259
 	}
256 260
 
261
+	/**
262
+	 * @return DataItem
263
+	 */
257 264
 	private function tryToFindImportDataItem( DIWikiPage $diWikiPage, $modifier ) {
258 265
 
259 266
 		$importDataItems = null;
Please login to merge, or discard this patch.
src/Serializers/QueryResultSerializer.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,8 @@  discard block
 block discarded – undo
60 60
 	 *
61 61
 	 * @since 1.7
62 62
 	 *
63
-	 * @param SMWDataItem $dataItem
63
+	 * @param DataItem $dataItem
64
+	 * @param PrintRequest $printRequest
64 65
 	 *
65 66
 	 * @return mixed
66 67
 	 */
@@ -143,7 +144,7 @@  discard block
 block discarded – undo
143 144
 	 *
144 145
 	 * @since 1.7
145 146
 	 *
146
-	 * @param SMWQueryResult $result
147
+	 * @param SMWQueryResult $queryResult
147 148
 	 *
148 149
 	 * @return array
149 150
 	 */
@@ -194,6 +195,9 @@  discard block
 block discarded – undo
194 195
 		return array( 'printrequests' => $printRequests, 'results' => $results);
195 196
 	}
196 197
 
198
+	/**
199
+	 * @param PrintRequest $printRequest
200
+	 */
197 201
 	private static function getSerializedPrintRequestFormat( $printRequest ) {
198 202
 
199 203
 		$serialized = array(
Please login to merge, or discard this patch.
src/SQLStore/EmbeddedQueryDependencyLinksStore.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -391,6 +391,9 @@  discard block
 block discarded – undo
391 391
 		return $id;
392 392
 	}
393 393
 
394
+	/**
395
+	 * @param DIWikiPage $subject
396
+	 */
394 397
 	private function canSuppressUpdateOnSkewFactorFor( $sid, $subject ) {
395 398
 
396 399
 		if ( $sid < 1 ) {
@@ -413,6 +416,9 @@  discard block
 block discarded – undo
413 416
 		return $row !== false && $skewedTouchedTimesamp > wfTimestamp( TS_MW );
414 417
 	}
415 418
 
419
+	/**
420
+	 * @param CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator
421
+	 */
416 422
 	private function removeBlacklistedPropertyReferencesFromParserCachePurgeJobChangeList( $compositePropertyTableDiffIterator, &$mapCombinedIdListOfChangedEntities, $table, $record ) {
417 423
 
418 424
 		// Remove matched blacklisted property reference
Please login to merge, or discard this patch.
includes/articlepages/SMW_OrderedListPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	/**
67 67
 	 * @since 1.9
68 68
 	 *
69
-	 * @return true
69
+	 * @return boolean
70 70
 	 */
71 71
 	public function process() {
72 72
 
Please login to merge, or discard this patch.
DVDescriptionDeserializer/MonolingualTextValueDescriptionDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
 		return new Conjunction( $subdescriptions );
92 92
 	}
93 93
 
94
+	/**
95
+	 * @param \SMWDataValue $dataValue
96
+	 */
94 97
 	private function newSubdescription( $dataValue, $comparator ) {
95 98
 
96 99
 		$description = new ValueDescription(
Please login to merge, or discard this patch.
src/NumberFormatter.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@  discard block
 block discarded – undo
39 39
 	/**
40 40
 	 * @since 2.1
41 41
 	 *
42
-	 * @param Language $contentLanguage
43 42
 	 */
44 43
 	public function __construct( $maxNonExpNumber ) {
45 44
 		$this->maxNonExpNumber = $maxNonExpNumber;
@@ -48,7 +47,7 @@  discard block
 block discarded – undo
48 47
 	/**
49 48
 	 * @since 2.1
50 49
 	 *
51
-	 * @return Localizer
50
+	 * @return NumberFormatter
52 51
 	 */
53 52
 	public static function getInstance() {
54 53
 
@@ -92,7 +91,7 @@  discard block
 block discarded – undo
92 91
 	 * @since 2.4
93 92
 	 *
94 93
 	 * @param mixed $value input number
95
-	 * @param integer|false $precision
94
+	 * @param integer $precision
96 95
 	 *
97 96
 	 * @return string
98 97
 	 */
@@ -238,6 +237,10 @@  discard block
 block discarded – undo
238 237
 		return $this->decimalSeparatorInUserLanguage;
239 238
 	}
240 239
 
240
+	/**
241
+	 * @param string $decimal
242
+	 * @param string $thousand
243
+	 */
241 244
 	private function doFormatByPrecision( $value, $precision = false, $decimal, $thousand ) {
242 245
 		// Format to some level of precision; number_format does rounding and
243 246
 		// locale formatting, x and y are used temporarily since number_format
Please login to merge, or discard this patch.
includes/specials/SMW_SpecialTypes.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
 		return 'pages';
142 142
 	}
143 143
 
144
+	/**
145
+	 * @param SMWDataValue $typeValue
146
+	 */
144 147
 	private function displayExtraInformationAbout( $typeValue ) {
145 148
 
146 149
 		$html = '';
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_Property.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 * the provided name is not allowed. An object is returned
72 72
 	 * in any case.
73 73
 	 *
74
-	 * @param string $propertyName
74
+	 * @param string $propertyLabel
75 75
 	 *
76 76
 	 * @return SMWPropertyValue
77 77
 	 */
@@ -192,6 +192,9 @@  discard block
 block discarded – undo
192 192
 		}
193 193
 	}
194 194
 
195
+	/**
196
+	 * @param boolean $isinverse
197
+	 */
195 198
 	public function setInverse( $isinverse ) {
196 199
 		return $this->m_dataitem = new SMWDIProperty( $this->m_dataitem->getKey(), ( $isinverse == true ) );
197 200
 	}
@@ -319,6 +322,7 @@  discard block
 block discarded – undo
319 322
 
320 323
 	/**
321 324
 	 * Create special highlighting for hinting at special properties.
325
+	 * @param string $text
322 326
 	 */
323 327
 	protected function highlightText( $text, $linker = null ) {
324 328
 
Please login to merge, or discard this patch.
src/DataValueFactory.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 	 * @param $property SMWDIProperty property object for which this value is made
140 140
 	 * @param $valueString mixed user value string, or false if unknown
141 141
 	 * @param $caption mixed user-defined caption, or false if none given
142
-	 * @param $contextPage SMWDIWikiPage that provides a context for parsing the value string, or null
142
+	 * @param DIWikiPage $contextPage SMWDIWikiPage that provides a context for parsing the value string, or null
143 143
 	 *
144 144
 	 * @return DataValue
145 145
 	 */
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	 * @param string $propertyName property string
161 161
 	 * @param string $valueString user value string
162 162
 	 * @param mixed $caption user-defined caption
163
-	 * @param SMWDIWikiPage|null $contextPage context for parsing the value string
163
+	 * @param null|DIWikiPage $contextPage context for parsing the value string
164 164
 	 *
165 165
 	 * @return DataValue
166 166
 	 */
@@ -245,6 +245,8 @@  discard block
 block discarded – undo
245 245
 	/**
246 246
 	 * @deprecated since 2.4, use DataTypeRegistry::newPropertyObjectValueByText
247 247
 	 *
248
+	 * @param string $propertyName
249
+	 * @param string $valueString
248 250
 	 * @return DataValue
249 251
 	 */
250 252
 	public function newPropertyValue( $propertyName, $valueString,
@@ -255,7 +257,7 @@  discard block
 block discarded – undo
255 257
 	/**
256 258
 	 * @since 2.4
257 259
 	 *
258
-	 * @param string $propertyName
260
+	 * @param string $propertyLabel
259 261
 	 *
260 262
 	 * @return DataValue
261 263
 	 */
@@ -265,6 +267,8 @@  discard block
 block discarded – undo
265 267
 
266 268
 	/**
267 269
 	 * @deprecated since 1.9, use DataTypeRegistry::registerDataType
270
+	 * @param string $id
271
+	 * @param string $className
268 272
 	 */
269 273
 	public static function registerDatatype( $id, $className, $dataItemId, $label = false ) {
270 274
 		DataTypeRegistry::getInstance()->registerDataType( $id, $className, $dataItemId, $label );
@@ -272,6 +276,8 @@  discard block
 block discarded – undo
272 276
 
273 277
 	/**
274 278
 	 * @deprecated since 1.9, use DataTypeRegistry::registerDataTypeAlias
279
+	 * @param string $id
280
+	 * @param string $label
275 281
 	 */
276 282
 	public static function registerDatatypeAlias( $id, $label ) {
277 283
 		DataTypeRegistry::getInstance()->registerDataTypeAlias( $id, $label );
Please login to merge, or discard this patch.