Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/SQLStore/PropertyTypeFinder.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\MediaWiki\Database;
6 6
 use SMW\DIProperty;
7
-use SMWTypesValue as TypesValue;
8 7
 use RuntimeException;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/Query/Language/SomeProperty.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -157,6 +157,8 @@
 block discarded – undo
157 157
 	/**
158 158
 	 * @since 1.6
159 159
 	 *
160
+	 * @param integer $maxsize
161
+	 * @param integer $maxdepth
160 162
 	 * @return SomeProperty
161 163
 	 */
162 164
 	public function prune( &$maxsize, &$maxdepth, &$log ) {
Please login to merge, or discard this patch.
src/SPARQLStore/RepositoryRedirectLookup.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.
tests/phpunit/Unit/SPARQLStore/RepositoryRedirectLookupTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@
 block discarded – undo
243 243
 		$this->assertFalse( $exists );
244 244
 	}
245 245
 
246
+	/**
247
+	 * @return \SMW\SPARQLStore\RepositoryConnection
248
+	 */
246 249
 	private function createRepositoryConnectionMockToUse( $listReturnValue ) {
247 250
 
248 251
 		$repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' )
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SMWExpLiteral as ExpLiteral;
10 10
 use SMWExpNsResource as ExpNsResource;
11 11
 use SMWExporter as Exporter;
12
-use SMWExpResource as ExpResource;
13 12
 
14 13
 /**
15 14
  * @covers \SMW\SPARQLStore\RepositoryRedirectLookup
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/ConceptDescriptionInterpreter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -118,6 +118,10 @@
 block discarded – undo
118 118
 		return $description;
119 119
 	}
120 120
 
121
+	/**
122
+	 * @param DIWikiPage $concept
123
+	 * @param Description $description
124
+	 */
121 125
 	private function findCircularDescription( $concept, $description ) {
122 126
 
123 127
 		if ( $description instanceof ConceptDescription ) {
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/ConceptDescriptionInterpreter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@
 block discarded – undo
158 158
 		);
159 159
 	}
160 160
 
161
+	/**
162
+	 * @param Description $description
163
+	 */
161 164
 	private function findCircularDescription( $concept, &$description ) {
162 165
 
163 166
 		if ( $description instanceof ConceptDescription ) {
Please login to merge, or discard this patch.
src/SPARQLStore/RepositoryConnectors/GenericHttpRepositoryConnector.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 * rdfs, property, xsd, so these do not have to be included in
150 150
 	 * $extraNamespaces.
151 151
 	 *
152
-	 * @param $vars mixed array or string, field name(s) to be retrieved, can be '*'
152
+	 * @param string $vars mixed array or string, field name(s) to be retrieved, can be '*'
153 153
 	 * @param $where string WHERE part of the query, without surrounding { }
154 154
 	 * @param $options array (associative) of options, e.g. array( 'LIMIT' => '10' )
155 155
 	 * @param $extraNamespaces array (associative) of namespaceId => namespaceUri
@@ -566,8 +566,8 @@  discard block
 block discarded – undo
566 566
 	}
567 567
 
568 568
 	/**
569
-	 * @param $endpoint string URL of endpoint that was used
570
-	 * @param $sparql string query that caused the problem
569
+	 * @param string|false $endpoint string URL of endpoint that was used
570
+	 * @param string $sparql string query that caused the problem
571 571
 	 */
572 572
 	protected function mapHttpRequestError( $endpoint, $sparql ) {
573 573
 
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
 	 *
584 584
 	 * @param integer $timeout
585 585
 	 *
586
-	 * @return SparqlDatabase
586
+	 * @return GenericHttpRepositoryConnector
587 587
 	 */
588 588
 	public function setConnectionTimeoutInSeconds( $timeout = 10 ) {
589 589
 		$this->httpRequest->setOption( CURLOPT_CONNECTTIMEOUT, $timeout );
Please login to merge, or discard this patch.
includes/articlepages/SMW_PropertyPage.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -162,6 +162,10 @@
 block discarded – undo
162 162
 	 * Get the HTML for displaying subproperties of this property. This list
163 163
 	 * is usually short and we implement no additional navigation.
164 164
 	 *
165
+	 * @param DIProperty $property
166
+	 * @param RequestOptions $requestOptions
167
+	 * @param integer $listLimit
168
+	 * @param string $header
165 169
 	 * @return string
166 170
 	 */
167 171
 	protected function getPropertyList( $property, $requestOptions, $listLimit, $header ) {
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\Localizer;
6 6
 use SMW\RequestOptions;
7 7
 use SMW\StringCondition;
8
-use SMW\PropertyRegistry;
9 8
 use SMWDataValue as DataValue;
10 9
 use SMW\DataValues\ValueFormatters\DataValueFormatter;
11 10
 use SMW\DIProperty;
Please login to merge, or discard this patch.
tests/phpunit/Integration/JSONScript/ParserTestCaseProcessor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -46,6 +46,10 @@
 block discarded – undo
46 46
 	 * @param SemanticDataValidator
47 47
 	 * @param IncomingSemanticDataValidator
48 48
 	 * @param StringValidator
49
+	 * @param \SMW\Store $store
50
+	 * @param \SMW\Tests\Utils\Validators\SemanticDataValidator $semanticDataValidator
51
+	 * @param \SMW\Tests\Utils\Validators\IncomingSemanticDataValidator $incomingSemanticDataValidator
52
+	 * @param \SMW\Tests\Utils\Validators\StringValidator $stringValidator
49 53
 	 */
50 54
 	public function __construct( $store, $semanticDataValidator, $incomingSemanticDataValidator, $stringValidator ) {
51 55
 		$this->store = $store;
Please login to merge, or discard this patch.