Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/MediaWiki/Api/PropertyListByApiRequest.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -196,6 +196,12 @@  discard block
 block discarded – undo
196 196
 		return true;
197 197
 	}
198 198
 
199
+	/**
200
+	 * @param string $property
201
+	 * @param RequestOptions $requestOptions
202
+	 *
203
+	 * @return \SMWRequestOptions|null
204
+	 */
199 205
 	private function doModifyRequestOptionsWith( $property, $requestOptions ) {
200 206
 
201 207
 		if ( $property === '' ) {
@@ -279,6 +285,9 @@  discard block
 block discarded – undo
279 285
 		);
280 286
 	}
281 287
 
288
+	/**
289
+	 * @param string $label
290
+	 */
282 291
 	private function matchPropertiesToPreferredLabelBy( $label ) {
283 292
 
284 293
 		$propertyLabelFinder = ApplicationFactory::getInstance()->getPropertyLabelFinder();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SMW\RequestOptions;
8 8
 use SMW\Store;
9 9
 use SMW\StringCondition;
10
-use SMW\Localizer;
11 10
 use SMW\ApplicationFactory;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/SkinAfterContent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	 *
38 38
 	 * @param string &$data
39 39
 	 *
40
-	 * @return true
40
+	 * @return boolean
41 41
 	 */
42 42
 	public function performUpdate( &$data ) {
43 43
 
Please login to merge, or discard this patch.
src/MediaWiki/Jobs/ParserCachePurgeJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 	 * for all at once is not feasible hence the iterative process of creating
98 98
 	 * batches that run through the job scheduler.
99 99
 	 *
100
-	 * @param array|string $idList
100
+	 * @param boolean $idList
101 101
 	 */
102 102
 	private function findEmbeddedQueryTargetLinksBatches( $idList, $logger ) {
103 103
 
Please login to merge, or discard this patch.
src/MediaWiki/Jobs/UpdateJob.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -140,6 +140,9 @@
 block discarded – undo
140 140
 		return $this->updateStore( $parserData );
141 141
 	}
142 142
 
143
+	/**
144
+	 * @param \SMW\ParserData $parserData
145
+	 */
143 146
 	private function updateStore( $parserData ) {
144 147
 
145 148
 		$eventHandler = EventHandler::getInstance();
Please login to merge, or discard this patch.
src/MediaWiki/ManualEntryLogger.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	/**
38 38
 	 * @since 2.4
39 39
 	 *
40
-	 * @param string $eventTypes
40
+	 * @param string $eventType
41 41
 	 */
42 42
 	public function registerLoggableEventType( $eventType ) {
43 43
 		$this->eventTypes[$eventType] = true;
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
 		return $logEntry->insert();
74 74
 	}
75 75
 
76
+	/**
77
+	 * @param string $type
78
+	 */
76 79
 	protected function newManualLogEntryForType( $type ) {
77 80
 
78 81
 		if ( $this->logEntry !== null ) {
Please login to merge, or discard this patch.
src/Parser/LinksProcessor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -181,6 +181,9 @@
 block discarded – undo
181 181
 		return array( $properties, $value, $valueCaption );
182 182
 	}
183 183
 
184
+	/**
185
+	 * @param string $value
186
+	 */
184 187
 	private function setAnnotation( $value ) {
185 188
 
186 189
 		switch ( $value ) {
Please login to merge, or discard this patch.
src/ParserFunctions/ConceptParserFunction.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@  discard block
 block discarded – undo
52 52
 	 *
53 53
 	 * @since 1.9
54 54
 	 *
55
-	 * @param array $params
56 55
 	 *
57 56
 	 * @return string|null
58 57
 	 */
@@ -154,6 +153,9 @@  discard block
 block discarded – undo
154 153
 		return $query;
155 154
 	}
156 155
 
156
+	/**
157
+	 * @param \SMWQuery $query
158
+	 */
157 159
 	private function addQueryProfile( $query ) {
158 160
 
159 161
 		// If the smwgQueryProfiler is marked with FALSE then just don't create a profile.
Please login to merge, or discard this patch.
src/ParserFunctions/DeclareParserFunction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SMW\ParserData;
6 6
 use SMW\DataValueFactory;
7
-use Parser;
8 7
 use PPFrame;
9 8
 use SMWPropertyValue as PropertyValue;
10 9
 
Please login to merge, or discard this patch.
src/ParserFunctions/DocumentationParserFunction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 * @param Parser $parser
32 32
 	 * @param ProcessingResult $result
33 33
 	 *
34
-	 * @return mixed
34
+	 * @return string
35 35
 	 */
36 36
 	public function handle( Parser $parser, ProcessingResult $result ) {
37 37
 		if ( $result->hasFatal() ) {
Please login to merge, or discard this patch.