Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/PropertyAnnotators/MandatoryTypePropertyAnnotator.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 use SMW\DataTypeRegistry;
6 6
 use SMW\DataValueFactory;
7 7
 use SMW\DIProperty;
8
-use SMW\PropertyAnnotator;
9
-use SMW\Store;
10 8
 
11 9
 /**
12 10
  * @license GNU GPL v2+
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
50 50
 		$this->addTypeFromImportVocabulary( $property, current( $dataItems ) );
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param DIProperty $property
55
+	 */
53 56
 	private function addTypeFromImportVocabulary( $property, $dataItem ) {
54 57
 
55 58
 		$importValue = DataValueFactory::getInstance()->newDataValueByItem(
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
 		$this->replaceAnyTypeByImportType( $property, $dataValue );
80 83
 	}
81 84
 
85
+	/**
86
+	 * @param \SMWDataValue $dataValue
87
+	 */
82 88
 	private function replaceAnyTypeByImportType( DIProperty $property, $dataValue ) {
83 89
 
84 90
 		foreach ( $this->getSemanticData()->getPropertyValues( $property ) as $dataItem ) {
Please login to merge, or discard this patch.
src/Exporter/ResourceBuilders/PropertyDescriptionValueResourceBuilder.php 1 patch
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\Exporter\ResourceBuilders;
4 4
 
5
-use SMW\Exporter\ResourceBuilder;
6 5
 use SMW\DIProperty;
7 6
 use SMWExporter as Exporter;
8 7
 use SMW\DataValueFactory;
Please login to merge, or discard this patch.
includes/dataitems/SMW_DI_URI.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
 	 * with these examples would be
41 41
 	 * http://[email protected]/path?q=Search+term#section-one
42 42
 	 * @param $scheme string for the scheme
43
-	 * @param $hierpart string for the "hierpart"
43
+	 * @param string $hierpart string for the "hierpart"
44 44
 	 * @param $query string for the query
45 45
 	 * @param $fragment string for the fragment
46 46
 	 *
Please login to merge, or discard this patch.
src/DataValues/MonolingualTextValue.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@  discard block
 block discarded – undo
67 67
 	/**
68 68
 	 * @see AbstractMultiValue::getProperties
69 69
 	 *
70
-	 * @param DIProperty[] $properties
71 70
 	 */
72 71
 	public function getProperties() {
73 72
 		self::$properties;
@@ -78,6 +77,7 @@  discard block
 block discarded – undo
78 77
 	 *
79 78
 	 * @param $userValue
80 79
 	 * @param string $languageCode
80
+	 * @param string $text
81 81
 	 *
82 82
 	 * @return string
83 83
 	 */
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 	/**
278 278
 	 * @since 2.5
279 279
 	 *
280
-	 * @return array
280
+	 * @return string
281 281
 	 */
282 282
 	public function toArray() {
283 283
 
@@ -325,6 +325,9 @@  discard block
 block discarded – undo
325 325
 		return $list['_TEXT'] . '@' . $list['_LCODE'];
326 326
 	}
327 327
 
328
+	/**
329
+	 * @param string $value
330
+	 */
328 331
 	private function newContainerSemanticData( $value ) {
329 332
 
330 333
 		if ( $this->m_contextPage === null ) {
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 SMW\DIProperty;
10 10
 use SMW\DIWikiPage;
11 11
 use SMW\Localizer;
12
-use SMW\StringCondition;
13 12
 use SMWContainerSemanticData as ContainerSemanticData;
14 13
 use SMWDataItem as DataItem;
15 14
 use SMWDataValue as DataValue;
Please login to merge, or discard this patch.
src/Exporter/ResourceBuilders/PreferredPropertyLabelResourceBuilder.php 1 patch
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\Exporter\ResourceBuilders;
4 4
 
5
-use SMW\Exporter\ResourceBuilder;
6 5
 use SMW\DIProperty;
7 6
 use SMWExporter as Exporter;
8 7
 use SMW\DataValueFactory;
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/HookRegistry.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Hooks;
6 6
 use Onoi\HttpRequest\HttpRequestFactory;
7
-use Parser;
8 7
 use ParserHooks\HookRegistrant;
9 8
 use SMW\ApplicationFactory;
10 9
 use SMW\DeferredRequestDispatchManager;
11
-use SMW\NamespaceManager;
12 10
 use SMW\SQLStore\QueryEngine\FulltextSearchTableFactory;
13 11
 use SMW\ParserFunctions\DocumentationParserFunction;
14 12
 use SMW\ParserFunctions\InfoParserFunction;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 *
72 72
 	 * @param string $name
73 73
 	 *
74
-	 * @return Callable|false
74
+	 * @return \Closure
75 75
 	 */
76 76
 	public function getHandlerFor( $name ) {
77 77
 		return isset( $this->handlers[$name] ) ? $this->handlers[$name] : false;
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
 		}
97 97
 	}
98 98
 
99
+	/**
100
+	 * @param string $basePath
101
+	 */
99 102
 	private function addCallbackHandlers( $basePath, $globalVars ) {
100 103
 
101 104
 		$applicationFactory = ApplicationFactory::getInstance();
Please login to merge, or discard this patch.
src/QueryFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 	/**
83 83
 	 * @since 2.4
84 84
 	 *
85
-	 * @param integer|boolean $queryFeatures
85
+	 * @param integer $queryFeatures
86 86
 	 *
87 87
 	 * @return QueryParser
88 88
 	 */
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/SortableQueryDBIntegrationTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
 		);
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param DIProperty $property
127
+	 */
125 128
 	public function createQueryForSamplePagesThatContain( $property, array &$expectedSubjects ) {
126 129
 
127 130
 		foreach ( $expectedSubjects as $key => $expectedSubject ) {
@@ -159,6 +162,9 @@  discard block
 block discarded – undo
159 162
 		return $query;
160 163
 	}
161 164
 
165
+	/**
166
+	 * @param \SMWDIWikiPage[] $results
167
+	 */
162 168
 	private function assertResultOrder( $expected, $results ) {
163 169
 
164 170
 		$hasSameOrder = true;
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableDefinitionBuilder.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * @since 1.9
36 36
 	 *
37
-	 * @param array $diType
37
+	 * @param array $diTypes
38 38
 	 * @param array $specialProperties
39 39
 	 * @param array $userDefinedFixedProperties
40 40
 	 */
@@ -148,6 +148,9 @@  discard block
 block discarded – undo
148 148
 		}
149 149
 	}
150 150
 
151
+	/**
152
+	 * @param string $fixedPropertyTablePrefix
153
+	 */
151 154
 	private function addTableDefinitionForFixedProperties( array $properties, $fixedPropertyTablePrefix ) {
152 155
 		foreach( $properties as $propertyKey => $propetyTableSuffix ) {
153 156
 
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 Hooks;
6 6
 use SMW\DataTypeRegistry;
7 7
 use SMW\DIProperty;
8
-use SMWDataItem as DataItem;
9 8
 
10 9
 /**
11 10
  * @private
Please login to merge, or discard this patch.