Completed
Push — master ( f835ba...dee201 )
by mw
47:53 queued 08:25
created
SPARQLStore/QueryEngine/DescriptionInterpreters/DisjunctionInterpreter.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -107,6 +107,10 @@  discard block
 block discarded – undo
107 107
 		return $result;
108 108
 	}
109 109
 
110
+	/**
111
+	 * @param string $joinVariable
112
+	 * @param \SMW\DIProperty|null $orderByProperty
113
+	 */
110 114
 	private function doPreliminarySubDescriptionCheck( $subDescriptions, $joinVariable, $orderByProperty ) {
111 115
 
112 116
 		$count = count( $subDescriptions );
@@ -131,6 +135,10 @@  discard block
 block discarded – undo
131 135
 		return null;
132 136
 	}
133 137
 
138
+	/**
139
+	 * @param string $joinVariable
140
+	 * @param \SMW\DIProperty|null $orderByProperty
141
+	 */
134 142
 	private function doResolveSubDescriptionsRecursively( $subDescriptions, $joinVariable, $orderByProperty ) {
135 143
 
136 144
 		// Using a stdClass as data container for simpler handling in follow-up tasks
@@ -213,6 +221,9 @@  discard block
 block discarded – undo
213 221
 		return $subConditionElements;
214 222
 	}
215 223
 
224
+	/**
225
+	 * @param string $joinVariable
226
+	 */
216 227
 	private function createConditionFromSubConditionElements( $subConditionElements, $joinVariable ) {
217 228
 
218 229
 		if ( $subConditionElements->unionCondition === '' ) {
Please login to merge, or discard this patch.
SPARQLStore/QueryEngine/DescriptionInterpreters/SomePropertyInterpreter.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -150,6 +150,10 @@  discard block
 block discarded – undo
150 150
 		return array( $innerOrderByProperty, $innerCondition, $innerJoinVariable );
151 151
 	}
152 152
 
153
+	/**
154
+	 * @param \SMW\SPARQLStore\QueryEngine\Condition\Condition $innerCondition
155
+	 * @param string $innerJoinVariable
156
+	 */
153 157
 	private function findObjectNameFromInnerCondition( $innerCondition, $innerJoinVariable, &$namespaces ) {
154 158
 
155 159
 		if ( !$innerCondition instanceof SingletonCondition ) {
@@ -201,6 +205,10 @@  discard block
 block discarded – undo
201 205
 		return TurtleSerializer::getTurtleNameForExpElement( $propertyExpElement );
202 206
 	}
203 207
 
208
+	/**
209
+	 * @param string $objectName
210
+	 * @param string $joinVariable
211
+	 */
204 212
 	private function doExchangeForWhenInversePropertyIsUsed( DIProperty $property, $objectName, $joinVariable ) {
205 213
 
206 214
 		$subjectName = '?' . $joinVariable;
@@ -239,6 +247,8 @@  discard block
 block discarded – undo
239 247
 	 * can be found using the "zero or more" will resolve the complete path
240 248
 	 *
241 249
 	 * @see http://www.w3.org/TR/sparql11-query/#propertypath-arbitrary-length
250
+	 * @param \SMW\SPARQLStore\QueryEngine\Condition\Condition $condition
251
+	 * @param string $propertyName
242 252
 	 */
243 253
 	private function tryToAddPropertyPathForSaturatedHierarchy( &$condition, DIProperty $property, &$propertyName ) {
244 254
 
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/ValueDescriptionInterpreter.php 1 patch
Doc Comments   +19 added lines patch added patch discarded remove patch
@@ -104,10 +104,18 @@  discard block
 block discarded – undo
104 104
 		);
105 105
 	}
106 106
 
107
+	/**
108
+	 * @param string $joinVariable
109
+	 * @param \SMW\DIProperty|null $orderByProperty
110
+	 */
107 111
 	private function createConditionForEmptyComparator( $joinVariable, $orderByProperty ) {
108 112
 		return $this->compoundConditionBuilder->newTrueCondition( $joinVariable, $orderByProperty );
109 113
 	}
110 114
 
115
+	/**
116
+	 * @param string $joinVariable
117
+	 * @param \SMW\DIProperty|null $orderByProperty
118
+	 */
111 119
 	private function createConditionForEqualityComparator( $dataItem, $property, $joinVariable, $orderByProperty ) {
112 120
 
113 121
 		$expElement = $this->exporter->getDataItemHelperExpElement( $dataItem );
@@ -153,6 +161,11 @@  discard block
 block discarded – undo
153 161
 		return $condition;
154 162
 	}
155 163
 
164
+	/**
165
+	 * @param string $joinVariable
166
+	 * @param \SMW\DIProperty|null $orderByProperty
167
+	 * @param string $comparator
168
+	 */
156 169
 	private function createConditionForRegexComparator( $dataItem, $joinVariable, $orderByProperty, $comparator ) {
157 170
 
158 171
 		if ( !$dataItem instanceof DIBlob && !$dataItem instanceof DIWikiPage && !$dataItem instanceof DIUri ) {
@@ -196,6 +209,9 @@  discard block
 block discarded – undo
196 209
 		return $condition;
197 210
 	}
198 211
 
212
+	/**
213
+	 * @param string $comparator
214
+	 */
199 215
 	private function createFilterConditionForAnyOtherComparator( $dataItem, $joinVariable, $orderByProperty, $comparator ) {
200 216
 
201 217
 		$result = new FilterCondition( '', array() );
@@ -228,6 +244,9 @@  discard block
 block discarded – undo
228 244
 		return $result;
229 245
 	}
230 246
 
247
+	/**
248
+	 * @param string $pattern
249
+	 */
231 250
 	private function createFilterConditionToMatchRegexPattern( $dataItem, &$joinVariable, $comparator, $pattern ) {
232 251
 
233 252
 		if ( $dataItem instanceof DIBlob ) {
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/DispatchingDescriptionInterpreter.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	/**
45 45
 	 * @param Description $description
46 46
 	 *
47
-	 * @return QuerySegment
47
+	 * @return \SMW\SQLStore\QueryEngine\QuerySegment
48 48
 	 * @throws InvalidArgumentException
49 49
 	 */
50 50
 	public function interpretDescription( Description $description ) {
@@ -63,7 +63,6 @@  discard block
 block discarded – undo
63 63
 	/**
64 64
 	 * @since  2.2
65 65
 	 *
66
-	 * @param DescriptionInterpreter $defaultInterpreter
67 66
 	 */
68 67
 	public function addInterpreter( DescriptionInterpreter $interpreter ) {
69 68
 		$this->interpreters[] = $interpreter;
Please login to merge, or discard this patch.
SQLStore/QueryEngine/DescriptionInterpreters/SomePropertyInterpreter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
 	 * ValueDescription objects, create and return a plain WHERE condition
198 198
 	 * string for it.
199 199
 	 *
200
-	 * @param $query
200
+	 * @param QuerySegment $query
201 201
 	 * @param Description $description
202 202
 	 * @param SMWSQLStore3Table $proptable
203 203
 	 * @param DataItemHandler $diHandler for that table
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/ValueDescriptionInterpreter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
121 121
 		return $query;
122 122
 	}
123 123
 
124
+	/**
125
+	 * @param QuerySegment $query
126
+	 */
124 127
 	private function addFulltextSearchCondition( $query, $comparator, $value ) {
125 128
 
126 129
 		// Remove &SEARCH from the search string
Please login to merge, or discard this patch.
includes/parserhooks/AskParserFunction.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @since 1.9
65 65
 	 *
66
+	 * @param boolean $mode
66 67
 	 * @return AskParserFunction
67 68
 	 */
68 69
 	public function setShowMode( $mode ) {
@@ -94,7 +95,6 @@  discard block
 block discarded – undo
94 95
 	 *
95 96
 	 * @since 1.9
96 97
 	 *
97
-	 * @param array $params
98 98
 	 *
99 99
 	 * @return string|null
100 100
 	 */
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
 		return $result;
215 215
 	}
216 216
 
217
+	/**
218
+	 * @param Query $query
219
+	 */
217 220
 	private function createQueryProfile( $query, $format ) {
218 221
 
219 222
 		// If the smwgQueryProfiler is marked with FALSE then just don't create a profile.
Please login to merge, or discard this patch.
includes/query/SMW_Query.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@  discard block
 block discarded – undo
197 197
 		$this->errors = array_merge( $this->errors, $errors );
198 198
 	}
199 199
 
200
+	/**
201
+	 * @param string $querystring
202
+	 */
200 203
 	public function setQueryString( $querystring ) {
201 204
 		$this->queryString = $querystring;
202 205
 	}
@@ -205,7 +208,7 @@  discard block
 block discarded – undo
205 208
 	 * @since 2.5
206 209
 	 *
207 210
 	 * @param string|integer $key
208
-	 * @param mixed $value
211
+	 * @param double $value
209 212
 	 */
210 213
 	public function setOption( $key, $value ) {
211 214
 		$this->options[$key] = $value;
@@ -291,7 +294,7 @@  discard block
 block discarded – undo
291 294
 	 *
292 295
 	 * @param integer $limit
293 296
 	 *
294
-	 * @return Query
297
+	 * @return SMWQuery
295 298
 	 */
296 299
 	public function setUnboundLimit( $limit ) {
297 300
 		$this->limit = (int)$limit;
@@ -303,7 +306,7 @@  discard block
 block discarded – undo
303 306
 	 *
304 307
 	 * @since 2.2
305 308
 	 *
306
-	 * @param array $sortKeys
309
+	 * @param integer $sortKeys
307 310
 	 */
308 311
 	public function setSortKeys( array $sortKeys ) {
309 312
 		$this->sortkeys = $sortKeys;
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_Sql3SmwIds.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
 	 *
724 724
 	 * @param integer $sid
725 725
 	 * @param DIWikiPage $subject
726
-	 * @param integer|string|null $interWiki
726
+	 * @param string $interWiki
727 727
 	 */
728 728
 	public function updateInterwikiField( $sid, DIWikiPage $subject, $interWiki = null ) {
729 729
 
@@ -978,9 +978,8 @@  discard block
 block discarded – undo
978 978
 	/**
979 979
 	 * @since 2.3
980 980
 	 *
981
-	 * @param integer $id
982 981
 	 *
983
-	 * @return string[]
982
+	 * @return SMW\Iterators\MappingIterator
984 983
 	 */
985 984
 	public function getDataItemPoolHashListFor( array $idlist ) {
986 985
 		return $this->idToDataItemMatchFinder->getDataItemPoolHashListFor( $idlist );
Please login to merge, or discard this patch.