Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/SQLStore/PropertyStatisticsTable.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\SQLStore;
4 4
 
5
-use MWException;
6 5
 use SMW\MediaWiki\Database;
7 6
 use SMW\Store\PropertyStatisticsStore;
8 7
 use SMW\SQLStore\Exception\PropertyStatisticsInvalidArgumentException;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 	 *
247 247
 	 * @since 1.9
248 248
 	 *
249
-	 * @param array $propertyIds
249
+	 * @param integer[] $propertyIds
250 250
 	 *
251 251
 	 * @return array
252 252
 	 */
@@ -294,6 +294,9 @@  discard block
 block discarded – undo
294 294
 		);
295 295
 	}
296 296
 
297
+	/**
298
+	 * @param string $message
299
+	 */
297 300
 	private function log( $message, $context = array() ) {
298 301
 
299 302
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
ResourceBuilders/UniquenessConstraintPropertyValueResourceBuilder.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Exporter\ResourceBuilders;
4 4
 
5
-use SMW\Exporter\ResourceBuilder;
6 5
 use SMW\DIProperty;
7 6
 use SMWExporter as Exporter;
8
-use SMW\DataValueFactory;
9 7
 use SMWDataItem as DataItem;
10 8
 use SMWExpData as ExpData;
11
-use SMWExpLiteral as ExpLiteral;
12 9
 
13 10
 /**
14 11
  * @private
Please login to merge, or discard this patch.
src/DeferredCallableUpdate.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	 *
115 115
 	 * @since 2.5
116 116
 	 *
117
-	 * @param string|null $queue
117
+	 * @param string $fingerprint
118 118
 	 */
119 119
 	public function setFingerprint( $fingerprint = null ) {
120 120
 		$this->fingerprint = md5( $fingerprint );
@@ -187,6 +187,9 @@  discard block
 block discarded – undo
187 187
 		$this->doUpdate();
188 188
 	}
189 189
 
190
+	/**
191
+	 * @param string $message
192
+	 */
190 193
 	private function log( $message, $context = array() ) {
191 194
 
192 195
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
tests/phpunit/Integration/JSONScript/QueryTestCaseProcessor.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
 	 * @since 2.2
43 43
 	 *
44 44
 	 * @param Store $store
45
+	 * @param \SMW\Tests\Utils\Validators\QueryResultValidator $queryResultValidator
46
+	 * @param \SMW\Tests\Utils\Validators\StringValidator $stringValidator
47
+	 * @param \SMW\Tests\Utils\Validators\NumberValidator $numberValidator
45 48
 	 */
46 49
 	public function __construct( Store $store, $queryResultValidator, $stringValidator, $numberValidator ) {
47 50
 		$this->store = $store;
@@ -243,6 +246,9 @@  discard block
 block discarded – undo
243 246
 		);
244 247
 	}
245 248
 
249
+	/**
250
+	 * @param string $about
251
+	 */
246 252
 	private function printDescriptionToOutput( $about, $description ) {
247 253
 
248 254
 		if ( !$this->debug ) {
@@ -253,6 +259,9 @@  discard block
 block discarded – undo
253 259
 		print_r( $description );
254 260
 	}
255 261
 
262
+	/**
263
+	 * @param \SMWQueryResult $queryResult
264
+	 */
256 265
 	private function printQueryResultToOutput( $queryResult ) {
257 266
 
258 267
 		if ( is_string( $queryResult ) ) {
Please login to merge, or discard this patch.
src/SQLStore/EntityStore/EntitySubobjectListIterator.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	 *
57 57
 	 * @param DIWikiPage $subject
58 58
 	 *
59
-	 * @return Iterator
59
+	 * @return \SMW\Iterators\MappingIterator
60 60
 	 */
61 61
 	public function newListIteratorFor( DIWikiPage $subject, $skipOn = array() ) {
62 62
 		$this->skipOn = $skipOn;
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 *
71 71
 	 * @since 2.5
72 72
 	 *
73
-	 * @return Iterator
73
+	 * @return \SMW\Iterators\MappingIterator
74 74
 	 */
75 75
 	public function getIterator() {
76 76
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	 *
90 90
 	 * @param DIWikiPage $subject
91 91
 	 *
92
-	 * @return MappingIterator
92
+	 * @return \SMW\Iterators\MappingIterator
93 93
 	 */
94 94
 	private function newMappingIterator( DIWikiPage $subject ) {
95 95
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\IteratorFactory;
6 6
 use SMW\DIProperty;
7 7
 use SMW\DIWikiPage;
8
-use SMWDataItem as DataItem;
9 8
 use SMW\SQLStore\SQLStore;
10 9
 use IteratorAggregate;
11 10
 use RuntimeException;
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/QuerySegmentListBuilder.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 	/**
180 180
 	 * @since 2.2
181 181
 	 *
182
-	 * @return array
182
+	 * @return string[]
183 183
 	 */
184 184
 	public function getErrors() {
185 185
 		return $this->errors;
@@ -258,6 +258,9 @@  discard block
 block discarded – undo
258 258
 		return $query->queryNumber;
259 259
 	}
260 260
 
261
+	/**
262
+	 * @param string $fingerprint
263
+	 */
261 264
 	private function findDuplicates( $fingerprint ) {
262 265
 
263 266
 		if ( $this->errors !== array() || $this->isFilterDuplicates === false ) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use OutOfBoundsException;
7 7
 use SMW\Utils\CircularReferenceGuard;
8 8
 use SMW\Query\Language\Description;
9
-use SMW\Query\Language\Conjuncton;
10 9
 use SMW\Store;
11 10
 use SMW\Message;
12 11
 
Please login to merge, or discard this patch.
includes/dataitems/SMW_DI_Container.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
 		// return $this->m_semanticData->getHash();
98 98
 	}
99 99
 
100
+	/**
101
+	 * @param SMWSemanticData $semanticData
102
+	 */
100 103
 	private function getValueHash( $semanticData ) {
101 104
 
102 105
 		$hash = array();
Please login to merge, or discard this patch.
includes/Subobject.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
 	/**
127 127
 	 * @deprecated since 2.0
128
+	 * @param string $identifier
128 129
 	 */
129 130
 	public function setSemanticData( $identifier ) {
130 131
 		$this->setEmptyContainerForId( $identifier );
@@ -171,7 +172,7 @@  discard block
 block discarded – undo
171 172
 	/**
172 173
 	 * @since 1.9
173 174
 	 *
174
-	 * @param DataValue $dataValue
175
+	 * @param SMWDataValue $dataValue
175 176
 	 *
176 177
 	 * @throws SubSemanticDataException
177 178
 	 */
Please login to merge, or discard this patch.
src/Deserializers/SemanticDataDeserializer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@
 block discarded – undo
95 95
 	}
96 96
 
97 97
 	/**
98
+	 * @param DIProperty $property
98 99
 	 * @return DataItem
99 100
 	 */
100 101
 	private function doDeserializeDataItem( $property, $data, $value, $semanticData ) {
Please login to merge, or discard this patch.