Completed
Push — master ( 30add5...f043e7 )
by mw
14s
created
src/DataValues/ValueValidators/UniquenessConstraintValueValidator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@
 block discarded – undo
136 136
 		}
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param string $hash
141
+	 */
139 142
 	private function tryFindMatchResultFor( $hash, $dataValue ) {
140 143
 
141 144
 		$descriptionFactory = $this->queryFactory->newDescriptionFactory();
Please login to merge, or discard this patch.
src/DataValues/ValueValidators/PatternConstraintValueValidator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
 		);
86 86
 	}
87 87
 
88
+	/**
89
+	 * @param string $pattern
90
+	 */
88 91
 	private function doPregMatch( $pattern, $dataValue, $reference ) {
89 92
 
90 93
 		// Add a mandatory backslash
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableIdReferenceFinder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
 		return $reference === false || $reference === null ? false : $reference;
120 120
 	}
121 121
 
122
+	/**
123
+	 * @param integer $id
124
+	 */
122 125
 	private function findReferenceByPropertyTable( $proptable, $id ) {
123 126
 
124 127
 		$row = false;
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3_Readers.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 	 *
185 185
 	 * @since 1.8
186 186
 	 *
187
-	 * @param $subject mixed DIWikiPage or null
187
+	 * @param null|SMWDataItem $subject mixed DIWikiPage or null
188 188
 	 * @param $property SMWDIProperty
189 189
 	 * @param $requestOptions SMWRequestOptions
190 190
 	 *
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
 	 * @param SMWDataItem $value
662 662
 	 * @param SMWRequestOptions|null $requestOptions
663 663
 	 *
664
-	 * @return array of SMWWikiPageValue
664
+	 * @return SMWDataItem[] of SMWWikiPageValue
665 665
 	 */
666 666
 	public function getInProperties( SMWDataItem $value, SMWRequestOptions $requestOptions = null ) {
667 667
 
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/DeferredRequestDispatchManager.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	 * @since 2.3
87 87
 	 *
88 88
 	 * @param string $type
89
-	 * @param Title $title
89
+	 * @param Title|null $title
90 90
 	 * @param array $parameters
91 91
 	 */
92 92
 	public function dispatchJobRequestFor( $type, Title $title, $parameters = array() ) {
@@ -118,6 +118,9 @@  discard block
 block discarded – undo
118 118
 		return true;
119 119
 	}
120 120
 
121
+	/**
122
+	 * @param string $type
123
+	 */
121 124
 	private function getDispatchableCallbackJobFor( $type ) {
122 125
 
123 126
 		$jobFactory = ApplicationFactory::getInstance()->newJobFactory();
@@ -148,6 +151,9 @@  discard block
 block discarded – undo
148 151
 		return $callback;
149 152
 	}
150 153
 
154
+	/**
155
+	 * @param string $type
156
+	 */
151 157
 	private function doPreliminaryCheckForType( $type, array $parameters ) {
152 158
 
153 159
 		if ( $type !== 'SMW\ParserCachePurgeJob' && $type !== 'SMW\UpdateJob' ) {
@@ -172,6 +178,10 @@  discard block
 block discarded – undo
172 178
 		return self::$canConnectToUrl = $this->httpRequest->ping();
173 179
 	}
174 180
 
181
+	/**
182
+	 * @param string $type
183
+	 * @param \Closure $dispatchableCallbackJob
184
+	 */
175 185
 	private function doPostJobWith( $type, $title, $parameters, $dispatchableCallbackJob ) {
176 186
 
177 187
 		$parameters['async-job'] = array(
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/SQLStore/SQLStoreFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	/**
53 53
 	 * @since 2.2
54 54
 	 *
55
-	 * @return QueryEngine
55
+	 * @return QueryEngine\QueryEngine
56 56
 	 */
57 57
 	public function newMasterQueryEngine() {
58 58
 		return $this->queryEngineFactory->newQueryEngine();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	/**
62 62
 	 * @since 2.2
63 63
 	 *
64
-	 * @return QueryEngine
64
+	 * @return QueryEngine\QueryEngine
65 65
 	 */
66 66
 	public function newSlaveQueryEngine() {
67 67
 		return $this->queryEngineFactory->newQueryEngine();
Please login to merge, or discard this patch.
src/Query/PrintRequest.php 1 patch
Doc Comments   +11 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * @param integer $mode a constant defining what to printout
47 47
 	 * @param string $label the string label to describe this printout
48 48
 	 * @param mixed $data optional data for specifying some request, might be a property object, title, or something else; interpretation depends on $mode
49
-	 * @param mixed $outputformat optional string for specifying an output format, e.g. an output unit
49
+	 * @param string $outputformat optional string for specifying an output format, e.g. an output unit
50 50
 	 * @param array|null $params optional array of further, named parameters for the print request
51 51
 	 */
52 52
 	public function __construct( $mode, $label, $data = null, $outputformat = false, array $params = null ) {
@@ -130,6 +130,8 @@  discard block
 block discarded – undo
130 130
 
131 131
 	/**
132 132
 	 * Convenience method for accessing the text in either HTML or Wiki format.
133
+	 * @param integer $outputmode
134
+	 * @return string
133 135
 	 */
134 136
 	public function getText( $outputmode, $linker = null ) {
135 137
 		switch ( $outputmode ) {
@@ -267,7 +269,7 @@  discard block
 block discarded – undo
267 269
 	/**
268 270
 	 * Returns the value of a named parameter.
269 271
 	 *
270
-	 * @param $key string the name of the parameter key
272
+	 * @param string $key string the name of the parameter key
271 273
 	 *
272 274
 	 * @return string Value of the paramer, if set (else FALSE)
273 275
 	 */
@@ -287,7 +289,7 @@  discard block
 block discarded – undo
287 289
 	/**
288 290
 	 * Sets a print request parameter.
289 291
 	 *
290
-	 * @param $key string Name of the parameter
292
+	 * @param string $key string Name of the parameter
291 293
 	 * @param $value string Value for the parameter
292 294
 	 */
293 295
 	public function setParameter( $key, $value ) {
@@ -373,11 +375,17 @@  discard block
 block discarded – undo
373 375
 		}
374 376
 	}
375 377
 
378
+	/**
379
+	 * @param string $text
380
+	 */
376 381
 	private static function isCategory( $text ) {
377 382
 		return Localizer::getInstance()->getNamespaceTextById( NS_CATEGORY ) == mb_convert_case( $text, MB_CASE_TITLE ) ||
378 383
 		$text == 'Category';
379 384
 	}
380 385
 
386
+	/**
387
+	 * @param string $text
388
+	 */
381 389
 	private static function doSplitText( $text ) {
382 390
 		// 1464
383 391
 		// Temporary encode "=" within a <> entity (<span>...</span>)
Please login to merge, or discard this patch.