Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
src/SPARQLStore/QueryEngine/Interpreter/ConjunctionInterpreter.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -100,6 +100,10 @@  discard block
 block discarded – undo
100 100
 		return $result;
101 101
 	}
102 102
 
103
+	/**
104
+	 * @param string $joinVariable
105
+	 * @param \SMW\DIProperty|null $orderByProperty
106
+	 */
103 107
 	private function doPreliminarySubDescriptionCheck( $subDescriptions, $joinVariable, $orderByProperty ) {
104 108
 
105 109
 		$count = count( $subDescriptions );
@@ -126,6 +130,9 @@  discard block
 block discarded – undo
126 130
 		return null;
127 131
 	}
128 132
 
133
+	/**
134
+	 * @param string $joinVariable
135
+	 */
129 136
 	private function doResolveSubDescriptionsRecursively( $subDescriptions, $joinVariable ) {
130 137
 
131 138
 		// Using a stdClass as data container for simpler handling in follow-up tasks
@@ -195,6 +202,9 @@  discard block
 block discarded – undo
195 202
 		return $subConditionElements;
196 203
 	}
197 204
 
205
+	/**
206
+	 * @param \stdClass $subConditionElements
207
+	 */
198 208
 	private function createConditionFromSubConditionElements( $subConditionElements ) {
199 209
 
200 210
 		if ( $subConditionElements->singletonMatchElement instanceof ExpElement ) {
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/Interpreter/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.
src/SPARQLStore/QueryEngine/Interpreter/SomePropertyInterpreter.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@  discard block
 block discarded – undo
150 150
 		return array( $innerOrderByProperty, $innerCondition, $innerJoinVariable );
151 151
 	}
152 152
 
153
+	/**
154
+	 * @param string $innerJoinVariable
155
+	 */
153 156
 	private function findObjectNameFromInnerCondition( $innerCondition, $innerJoinVariable, &$namespaces ) {
154 157
 
155 158
 		if ( !$innerCondition instanceof SingletonCondition ) {
@@ -201,6 +204,10 @@  discard block
 block discarded – undo
201 204
 		return TurtleSerializer::getTurtleNameForExpElement( $propertyExpElement );
202 205
 	}
203 206
 
207
+	/**
208
+	 * @param string $objectName
209
+	 * @param string $joinVariable
210
+	 */
204 211
 	private function doExchangeForWhenInversePropertyIsUsed( DIProperty $property, $objectName, $joinVariable ) {
205 212
 
206 213
 		$subjectName = '?' . $joinVariable;
@@ -239,6 +246,7 @@  discard block
 block discarded – undo
239 246
 	 * can be found using the "zero or more" will resolve the complete path
240 247
 	 *
241 248
 	 * @see http://www.w3.org/TR/sparql11-query/#propertypath-arbitrary-length
249
+	 * @param string $propertyName
242 250
 	 */
243 251
 	private function tryToAddPropertyPathForSaturatedHierarchy( &$condition, DIProperty $property, &$propertyName ) {
244 252
 
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
@@ -213,6 +213,9 @@
 block discarded – undo
213 213
 		return DebugOutputFormatter::formatOutputFor( 'SPARQLStore', $entries, $query );
214 214
 	}
215 215
 
216
+	/**
217
+	 * @param Condition $condition
218
+	 */
216 219
 	private function isSingletonConditionWithElementMatch( $condition ) {
217 220
 		return $condition instanceof SingletonCondition && $condition->matchElement instanceof Element;
218 221
 	}
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/RepositoryResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	/**
74 74
 	 * Get the number of rows in the result object.
75 75
 	 *
76
-	 * @return interger number of result rows
76
+	 * @return integer number of result rows
77 77
 	 */
78 78
 	public function numRows() {
79 79
 		return count( $this->data );
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/XmlResponseParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@
 block discarded – undo
126 126
 		);
127 127
 	}
128 128
 
129
+	/**
130
+	 * @param string $xmlResultData
131
+	 */
129 132
 	private function parseXml( $xmlResultData ) {
130 133
 		return xml_parse( $this->parser, $xmlResultData, true );
131 134
 	}
Please login to merge, or discard this patch.
src/SPARQLStore/RedirectLookup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	 * @since 1.6
53 53
 	 *
54 54
 	 * @param ExpNsResource $expNsResource string URI to check
55
-	 * @param boolean $existsthat is set to true if $expNsResource is in the
55
+	 * @param boolean|null $exists is set to true if $expNsResource is in the
56 56
 	 * store; always false for blank nodes; always true for subobjects
57 57
 	 *
58 58
 	 * @return ExpNsResource
Please login to merge, or discard this patch.
src/SPARQLStore/RepositoryConnector/GenericHttpRepositoryConnector.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 	 * rdfs, property, xsd, so these do not have to be included in
133 133
 	 * $extraNamespaces.
134 134
 	 *
135
-	 * @param $vars mixed array or string, field name(s) to be retrieved, can be '*'
135
+	 * @param string $vars mixed array or string, field name(s) to be retrieved, can be '*'
136 136
 	 * @param $where string WHERE part of the query, without surrounding { }
137 137
 	 * @param $options array (associative) of options, e.g. array( 'LIMIT' => '10' )
138 138
 	 * @param $extraNamespaces array (associative) of namespaceId => namespaceUri
@@ -549,8 +549,8 @@  discard block
 block discarded – undo
549 549
 	}
550 550
 
551 551
 	/**
552
-	 * @param $endpoint string URL of endpoint that was used
553
-	 * @param $sparql string query that caused the problem
552
+	 * @param string $endpoint string URL of endpoint that was used
553
+	 * @param string $sparql string query that caused the problem
554 554
 	 */
555 555
 	protected function mapHttpRequestError( $endpoint, $sparql ) {
556 556
 
@@ -566,7 +566,7 @@  discard block
 block discarded – undo
566 566
 	 *
567 567
 	 * @param integer $timeout
568 568
 	 *
569
-	 * @return SparqlDatabase
569
+	 * @return GenericHttpRepositoryConnector
570 570
 	 */
571 571
 	public function setConnectionTimeoutInSeconds( $timeout = 10 ) {
572 572
 		$this->httpRequest->setOption( CURLOPT_CONNECTTIMEOUT, $timeout );
Please login to merge, or discard this patch.
src/SPARQLStore/SPARQLStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -403,7 +403,7 @@
 block discarded – undo
403 403
 	 *
404 404
 	 * @param string $connectionTypeId
405 405
 	 *
406
-	 * @return mixed
406
+	 * @return RepositoryConnection
407 407
 	 */
408 408
 	public function getConnection( $connectionTypeId = 'sparql' ) {
409 409
 
Please login to merge, or discard this patch.