Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/PropertyLabelFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	/**
46 46
 	 * @since 2.2
47 47
 	 *
48
-	 * @return array
48
+	 * @return string[]
49 49
 	 */
50 50
 	public function getKownPredefinedPropertyLabels() {
51 51
 		return $this->languageDependentPropertyLabels;
Please login to merge, or discard this patch.
src/Query/Parser/DescriptionProcessor.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -185,6 +185,7 @@  discard block
 block discarded – undo
185 185
 	 *
186 186
 	 * The return value is the expected combined description. The object $currentDescription will
187 187
 	 * also be changed (if it was non-NULL).
188
+	 * @param integer $compoundType
188 189
 	 */
189 190
 	private function newCompoundDescription( Description $currentDescription = null, Description $newDescription = null, $compoundType = SMW_CONJUNCTION_QUERY ) {
190 191
 
@@ -220,6 +221,10 @@  discard block
 block discarded – undo
220 221
 		}
221 222
 	}
222 223
 
224
+	/**
225
+	 * @param Description $currentDescription
226
+	 * @param Description $newDescription
227
+	 */
223 228
 	private function newCompoundDescriptionFor( $compoundType, $currentDescription, $newDescription ) {
224 229
 
225 230
 		if ( ( ( $compoundType & SMW_CONJUNCTION_QUERY ) != 0 && ( $currentDescription instanceof Conjunction ) ) ||
Please login to merge, or discard this patch.
src/Query/QueryCreator.php 2 patches
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 	 *
105 105
 	 * @param string $queryString
106 106
 	 *
107
-	 * @return Query
107
+	 * @return \SMWQuery
108 108
 	 */
109 109
 	public function create( $queryString ) {
110 110
 
@@ -243,10 +243,18 @@  discard block
 block discarded – undo
243 243
 		return $orders;
244 244
 	}
245 245
 
246
+	/**
247
+	 * @param string $sort
248
+	 *
249
+	 * @return string
250
+	 */
246 251
 	private function getNormalizedSortLabel( $sort ) {
247 252
 		return Localizer::getInstance()->getNamespaceTextById( NS_CATEGORY ) == mb_convert_case( $sort, MB_CASE_TITLE ) ? '_INST' : $sort;
248 253
 	}
249 254
 
255
+	/**
256
+	 * @param string $key
257
+	 */
250 258
 	private function getConfiguration( $key, $default ) {
251 259
 		return isset( $this->configuration[$key] ) ? $this->configuration[$key] : $default;
252 260
 	}
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Query;
4 4
 
5 5
 use SMW\QueryFactory;
6
-use SMW\DIWikiPage;
7 6
 use SMW\Localizer;
8 7
 use SMW\DataValueFactory;
9 8
 use SMWPropertyValue as PropertyValue;
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/CompoundConditionBuilder.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -448,7 +448,6 @@  discard block
 block discarded – undo
448 448
 	 * Extend the given SPARQL condition by a suitable order by variable,
449 449
 	 * possibly adding conditions if required for the type of data.
450 450
 	 *
451
-	 * @param Condition $sparqlCondition condition to modify
452 451
 	 * @param string $mainVariable the variable that represents the value to be ordered
453 452
 	 * @param integer $diType DataItem type id
454 453
 	 */
@@ -493,6 +492,9 @@  discard block
 block discarded – undo
493 492
 		}
494 493
 	}
495 494
 
495
+	/**
496
+	 * @param string $propertyKey
497
+	 */
496 498
 	private function addOrderForUnknownPropertyKey( Condition &$condition, $propertyKey, $order ) {
497 499
 
498 500
 		if ( $propertyKey === '' || $propertyKey === '#' ) { // order by result page sortkey
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,6 @@
 block discarded – undo
10 10
 use SMW\Message;
11 11
 use SMW\PropertyHierarchyLookup;
12 12
 use SMW\Query\Language\Description;
13
-use SMW\Query\Language\SomeProperty;
14
-use SMW\Query\Language\ThingDescription;
15
-use SMW\SPARQLStore\HierarchyFinder;
16 13
 use SMW\SPARQLStore\QueryEngine\Condition\Condition;
17 14
 use SMW\SPARQLStore\QueryEngine\Condition\SingletonCondition;
18 15
 use SMW\SPARQLStore\QueryEngine\Condition\TrueCondition;
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/QueryEngine.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -223,6 +223,9 @@
 block discarded – undo
223 223
 		return QueryDebugOutputFormatter::getStringFrom( 'SPARQLStore', $entries, $query );
224 224
 	}
225 225
 
226
+	/**
227
+	 * @param Condition $condition
228
+	 */
226 229
 	private function isSingletonConditionWithElementMatch( $condition ) {
227 230
 		return $condition instanceof SingletonCondition && $condition->matchElement instanceof Element;
228 231
 	}
Please login to merge, or discard this patch.
src/SQLStore/EntityRebuildDispatcher.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	/**
101 101
 	 * @since 2.3
102 102
 	 *
103
-	 * @param array|false $namespaces
103
+	 * @param boolean $namespaces
104 104
 	 */
105 105
 	public function setRestrictionToNamespaces( $namespaces ) {
106 106
 		$this->namespaces = $namespaces;
@@ -369,6 +369,9 @@  discard block
 block discarded – undo
369 369
 		}
370 370
 	}
371 371
 
372
+	/**
373
+	 * @param boolean $emptyRange
374
+	 */
372 375
 	private function findNextIdPosition( &$id, $emptyRange ) {
373 376
 
374 377
 		$nextPosition = $id + $this->iterationLimit;
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\DIProperty;
8 8
 use SMW\DIWikiPage;
9 9
 use SMW\SemanticData;
10
-use SMW\Store;
11 10
 use Title;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
src/SQLStore/EntityStore/DIHandlers/DIGeoCoordinateHandler.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use SMWDataItem as DataItem;
7 7
 use SMW\SQLStore\EntityStore\DataItemHandler;
8 8
 use SMW\SQLStore\EntityStore\Exception\DataItemHandlerException;
9
-use SMWDIGeoCoord  as DIGeoCoord;
9
+use SMWDIGeoCoord as DIGeoCoord;
10 10
 use SMW\SQLStore\TableBuilder\FieldType;
11 11
 
12 12
 /**
Please login to merge, or discard this patch.
src/SQLStore/Lookup/UnusedPropertyListLookup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	 *
41 41
 	 * @param Store $store
42 42
 	 * @param PropertyStatisticsStore $propertyStatisticsStore
43
-	 * @param RequestOptions $requestOptions|null
43
+	 * @param RequestOptions $requestOptions
44 44
 	 */
45 45
 	public function __construct( Store $store, PropertyStatisticsStore $propertyStatisticsStore, RequestOptions $requestOptions = null ) {
46 46
 		$this->store = $store;
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableIdReferenceFinder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@  discard block
 block discarded – undo
154 154
 		return $reference === false || $reference === null ? false : $reference;
155 155
 	}
156 156
 
157
+	/**
158
+	 * @param integer $id
159
+	 */
157 160
 	private function findReferenceByPropertyTable( $proptable, $id ) {
158 161
 
159 162
 		$row = false;
@@ -206,6 +209,9 @@  discard block
 block discarded – undo
206 209
 		return $row;
207 210
 	}
208 211
 
212
+	/**
213
+	 * @param integer $id
214
+	 */
209 215
 	private function findReferenceByQueryLinksTable( $id ) {
210 216
 
211 217
 		// If the query table contains a reference then we keep the object (could
Please login to merge, or discard this patch.