Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/PropertyRegistry.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	/**
124 124
 	 * @since 2.1
125 125
 	 *
126
-	 * @return array
126
+	 * @return string[]
127 127
 	 */
128 128
 	public function getKnownPropertyAliases() {
129 129
 		return $this->propertyAliasFinder->getKnownPropertyAliases();
@@ -267,6 +267,7 @@  discard block
 block discarded – undo
267 267
 
268 268
 	/**
269 269
 	 * @deprecated since 2.1 use findPropertyIdByLabel instead
270
+	 * @param string $label
270 271
 	 */
271 272
 	public function findPropertyId( $label, $useAlias = true ) {
272 273
 		return $this->findPropertyIdByLabel( $label, $useAlias );
@@ -369,6 +370,9 @@  discard block
 block discarded – undo
369 370
 		\Hooks::run( 'SMW::Property::initProperties', array( $this ) );
370 371
 	}
371 372
 
373
+	/**
374
+	 * @param string|boolean $label
375
+	 */
372 376
 	private function registerPropertyLabel( $id, $label, $asCanonical = true ) {
373 377
 		$this->propertyLabelFinder->registerPropertyLabel( $id, $label, $asCanonical );
374 378
 	}
Please login to merge, or discard this patch.
src/DataValues/UniquenessConstraintValue.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * @see DataValue::parseUserValue
31 31
 	 *
32
-	 * @param string $value
33 32
 	 */
34 33
 	protected function parseUserValue( $userValue ) {
35 34
 
Please login to merge, or discard this patch.
tests/phpunit/includes/export/ExportSemanticDataTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use SMW\Tests\Utils\Validators\ExportDataValidator;
13 13
 use SMWExpNsResource as ExpNsResource;
14 14
 use SMWExporter as Exporter;
15
-use SMWExpResource as ExpResource;
16 15
 
17 16
 /**
18 17
  * @covers \SMWExporter
Please login to merge, or discard this patch.
tests/phpunit/Utils/Validators/SemanticDataValidator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	/**
113 113
 	 * @since 2.1
114 114
 	 *
115
-	 * @param array $expected
115
+	 * @param DIProperty[] $expected
116 116
 	 * @param array $properties
117 117
 	 */
118 118
 	public function assertHasProperties( array $expected, array $properties ) {
@@ -344,6 +344,10 @@  discard block
 block discarded – undo
344 344
 		);
345 345
 	}
346 346
 
347
+	/**
348
+	 * @param \SMWDataValue $dataValue
349
+	 * @param string $defaultFormatter
350
+	 */
347 351
 	private function assertContainsPropertyValues( &$expected, $dataValue, $defaultFormatter, $formatterParameters = array() ) {
348 352
 
349 353
 		if ( !isset( $expected['propertyValues'] ) ) {
Please login to merge, or discard this patch.
src/MediaWiki/Api/ApiRequestParameterFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 	 *
73 73
 	 * @since 1.9
74 74
 	 *
75
-	 * @return ObjectDictionary
75
+	 * @return Options
76 76
 	 */
77 77
 	protected function formatAskArgs() {
78 78
 
Please login to merge, or discard this patch.
src/Exporter/ConceptToExpDataMapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 *
63 63
 	 * @param DIConcept $concept
64 64
 	 *
65
-	 * @return ExpData|null
65
+	 * @return null|Element
66 66
 	 */
67 67
 	public function getElementFor( DIConcept $concept ) {
68 68
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 	 *
118 118
 	 * @param string &$exact
119 119
 	 *
120
-	 * @return Element|false
120
+	 * @return Element
121 121
 	 */
122 122
 	public function getExpDataFromDescription( Description $description, &$exact ) {
123 123
 
Please login to merge, or discard this patch.
includes/articlepages/SMW_OrderedListPage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
 	/**
121 121
 	 * @since 2.4
122
+	 * @param string $msgKey
122 123
 	 */
123 124
 	protected function getNavigationLinks( $msgKey, array $diWikiPages, $default = 50 ) {
124 125
 		global $wgRequest;
@@ -178,7 +179,7 @@  discard block
 block discarded – undo
178 179
 	 * If the method returns false, nothing will be printed besides
179 180
 	 * the original article.
180 181
 	 *
181
-	 * @return true
182
+	 * @return boolean
182 183
 	 */
183 184
 	protected function initParameters() {
184 185
 		$this->limit = 20;
Please login to merge, or discard this patch.
src/DataValues/ValueFormatters/TimeValueFormatter.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,6 @@  discard block
 block discarded – undo
70 70
 	 *
71 71
 	 * @since 2.4
72 72
 	 *
73
-	 * @param DITime $dataItem
74 73
 	 * @param boolean $mindefault determining whether values below the
75 74
 	 * precision of our input should be completed with minimal or maximal
76 75
 	 * conceivable values
@@ -111,7 +110,6 @@  discard block
 block discarded – undo
111 110
 	 *
112 111
 	 * @since 2.4
113 112
 	 *
114
-	 * @param DITime $dataItem
115 113
 	 *
116 114
 	 * @return string
117 115
 	 */
@@ -167,7 +165,7 @@  discard block
 block discarded – undo
167 165
 	 *
168 166
 	 * @since 2.4
169 167
 	 *
170
-	 * @param DITime $dataitem
168
+	 * @param DITime $dataItem
171 169
 	 *
172 170
 	 * @return string
173 171
 	 */
@@ -350,6 +348,9 @@  discard block
 block discarded – undo
350 348
 		return $this->getCaptionFromDataItem( $dataItem );
351 349
 	}
352 350
 
351
+	/**
352
+	 * @param DITime $dataItem
353
+	 */
353 354
 	private function hintCalendarModel( $dataItem ) {
354 355
 
355 356
 		if ( $this->dataValue->isEnabledFeature( SMW_DV_TIMEV_CM ) && $dataItem->getCalendarModel() !== DITime::CM_GREGORIAN ) {
Please login to merge, or discard this patch.
src/DataValues/UnitConversionFetcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -226,6 +226,9 @@
 block discarded – undo
226 226
 		);
227 227
 	}
228 228
 
229
+	/**
230
+	 * @param boolean $asPrefix
231
+	 */
229 232
 	private function matchUnitAliases( $number, $asPrefix, array $unitAliases ) {
230 233
 		$first = true;
231 234
 
Please login to merge, or discard this patch.