Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/Exporter/ResourceBuilders/ImportFromPropertyValueResourceBuilder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 use SMWDataItem as DataItem;
8 8
 use SMWExpData as ExpData;
9 9
 use SMWDIBlob as DIBlob;
10
-use SMWImportValue  as ImportValue;
10
+use SMWImportValue as ImportValue;
11 11
 
12 12
 /**
13 13
  * @private
Please login to merge, or discard this patch.
src/Exporter/ResourceBuilders/PropertyValueResourceBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@  discard block
 block discarded – undo
94 94
 		}
95 95
 	}
96 96
 
97
+	/**
98
+	 * @param DIProperty $property
99
+	 */
97 100
 	protected function getResourceElementForProperty( $property ) {
98 101
 
99 102
 		$key = 'resource:builder:' . $property->getKey();
@@ -112,6 +115,9 @@  discard block
 block discarded – undo
112 115
 		return $resourceElement;
113 116
 	}
114 117
 
118
+	/**
119
+	 * @param DIProperty $property
120
+	 */
115 121
 	protected function getResourceElementHelperForProperty( $property ) {
116 122
 
117 123
 		$key = 'resource:builder:aux:' . $property->getKey();
Please login to merge, or discard this patch.
src/DataValues/ExternalIdentifierValue.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@  discard block
 block discarded – undo
40 40
 	/**
41 41
 	 * @see DataValue::getShortWikiText
42 42
 	 *
43
-	 * @param string $value
44 43
 	 */
45 44
 	public function getShortWikiText( $linker = null ) {
46 45
 
@@ -137,6 +136,9 @@  discard block
 block discarded – undo
137 136
 		return $dataValue->getDataItem();
138 137
 	}
139 138
 
139
+	/**
140
+	 * @return boolean
141
+	 */
140 142
 	private function getExternalFormattedUri( $value ) {
141 143
 
142 144
 		if ( $this->externalFormattedUri !== null ) {
Please login to merge, or discard this patch.
ResourceBuilders/ExternalIdentifierPropertyValueResourceBuilder.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/DataValues/AbstractMultiValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 	 *
96 96
 	 * @since 2.5
97 97
 	 *
98
-	 * @param string|integer $index
98
+	 * @param string $index
99 99
 	 *
100 100
 	 * @return DIProperty|null
101 101
 	 */
Please login to merge, or discard this patch.
src/ApplicationFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use SMW\MediaWiki\MwCollaboratorFactory;
14 14
 use SMW\MediaWiki\PageCreator;
15 15
 use SMW\MediaWiki\TitleCreator;
16
-use SMW\Query\ProfileAnnotator\QueryProfileAnnotatorFactory;
17 16
 use SMWQueryParser as QueryParser;
18 17
 use Title;
19 18
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
 	/**
359 359
 	 * @since 2.4
360 360
 	 *
361
-	 * @return MediaWikiNsContentReader
361
+	 * @return MediaWiki\MediaWikiNsContentReader
362 362
 	 */
363 363
 	public function getMediaWikiNsContentReader() {
364 364
 		return $this->callbackLoader->singleton( 'MediaWikiNsContentReader' );
Please login to merge, or discard this patch.
includes/storage/SMW_ResultArray.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 	 *
135 135
 	 * @since 1.6
136 136
 	 *
137
-	 * @return SMWDataItem|false
137
+	 * @return null|DataItem
138 138
 	 */
139 139
 	public function getNextDataItem() {
140 140
 		$this->loadContent();
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 	 *
268 268
 	 * @param boolean $useLimit
269 269
 	 *
270
-	 * @return SMWRequestOptions|null
270
+	 * @return SMW\RequestOptions|null
271 271
 	 */
272 272
 	protected function getRequestOptions( $useLimit = true ) {
273 273
 		return $this->resultFieldMatchFinder->getRequestOptions( $useLimit );
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use SMW\DataValueFactory;
4
-use SMW\InTextAnnotationParser;
5 4
 use SMW\Query\PrintRequest;
6 5
 use SMW\Query\Result\EntityListAccumulator;
7 6
 use SMWDataItem as DataItem;
8
-use SMWDIBlob as DIBlob;
9 7
 use SMW\Query\Result\ResultFieldMatchFinder;
10 8
 use SMW\Query\QueryToken;
11 9
 
Please login to merge, or discard this patch.
src/Query/Result/EntityListAccumulator.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@
 block discarded – undo
63 63
 	/**
64 64
 	 * @since  2.4
65 65
 	 *
66
+	 * @param string $queryID
66 67
 	 * @return array
67 68
 	 */
68 69
 	public function getEntityList( $queryID = null ) {
Please login to merge, or discard this 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\DIProperty;
6 6
 use SMW\DIWikiPage;
7
-use SMW\Store;
8 7
 use SMWDataItem as DataItem;
9 8
 use SMWQuery as Query;
10 9
 
Please login to merge, or discard this patch.
src/DataValues/PropertyChainValue.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,6 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
 	/**
78 78
 	 * @see DataValue::getShortWikiText
79
+	 * @param string $linker
79 80
 	 */
80 81
 	public function getShortWikiText( $linker = null ) {
81 82
 
@@ -88,6 +89,7 @@  discard block
 block discarded – undo
88 89
 
89 90
 	/**
90 91
 	 * @see DataValue::getLongWikiText
92
+	 * @param string $linker
91 93
 	 */
92 94
 	public function getLongWikiText( $linker = null ) {
93 95
 
@@ -154,7 +156,6 @@  discard block
 block discarded – undo
154 156
 	 * @see DataValue::parseUserValue
155 157
 	 * @note called by DataValue::setUserValue
156 158
 	 *
157
-	 * @param string $userValue
158 159
 	 */
159 160
 	protected function parseUserValue( $value ) {
160 161
 
@@ -171,6 +172,9 @@  discard block
 block discarded – undo
171 172
 		$this->m_dataitem = new DIBlob( $value );
172 173
 	}
173 174
 
175
+	/**
176
+	 * @param string $value
177
+	 */
174 178
 	private function initPropertyChain( $value ) {
175 179
 
176 180
 		$chain = explode( '.', $value );
Please login to merge, or discard this patch.