Completed
Push — master ( 2472c5...a814e8 )
by mw
35:03
created
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/SQLStore/TableBuilder/PostgresTableBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -131,6 +131,9 @@  discard block
 block discarded – undo
131 131
 		$this->reportMessage( "done.\n" );
132 132
 	}
133 133
 
134
+	/**
135
+	 * @param string $tableName
136
+	 */
134 137
 	private function getIndexInfo( $tableName ) {
135 138
 
136 139
 		$tableName = $this->connection->tableName( $tableName );
@@ -154,6 +157,9 @@  discard block
 block discarded – undo
154 157
 		return $indices;
155 158
 	}
156 159
 
160
+	/**
161
+	 * @param string $tableName
162
+	 */
157 163
 	private function doDropIndex( $tableName, $indexName, $columns ) {
158 164
 		$this->reportMessage( "   ... removing index $columns ..." );
159 165
 		$this->connection->query( 'DROP INDEX ' . $indexName, __METHOD__ );
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/DataValues/ReferenceValue.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -292,6 +292,9 @@
 block discarded – undo
292 292
 		return array();
293 293
 	}
294 294
 
295
+	/**
296
+	 * @param string $value
297
+	 */
295 298
 	private function newContainerSemanticData( $value ) {
296 299
 
297 300
 		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
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use SMWDataItem as DataItem;
13 13
 use SMWDataValue as DataValue;
14 14
 use SMWDIContainer as DIContainer;
15
-use SMWPropertyListValue as PropertyListValue;
16 15
 
17 16
 /**
18 17
  * ReferenceValue allows to define additional DV to describe the state of a
Please login to merge, or discard this patch.
src/DataValues/ValueFormatters/ReferenceValueFormatter.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -120,6 +120,10 @@
 block discarded – undo
120 120
 		return $results;
121 121
 	}
122 122
 
123
+	/**
124
+	 * @param boolean $isValue
125
+	 * @param DataValue $dataValue
126
+	 */
123 127
 	private function findValueOutputFor( $isValue, $type, $dataValue, $linker ) {
124 128
 
125 129
 		// Turn Uri/Page links into a href representation when not used as value
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\SPARQLStore\QueryEngine\QueryEngine;
6 6
 use SMW\SPARQLStore\QueryEngine\EngineOptions;
7 7
 use SMW\SPARQLStore\QueryEngine\QueryResultFactory;
8
-use SMW\DIProperty;
9 8
 use SMWQuery as Query;
10 9
 
11 10
 /**
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 1 patch
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.
src/Query/PrintRequest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use SMW\InTextAnnotationParser;
4 4
 use SMW\Query\PrintRequest;
5
-use SMW\Localizer;
6 5
 use SMW\DataValueFactory;
7 6
 use SMWDIBlob as DIBlob;
8 7
 
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 * @param integer $mode a constant defining what to printout
70 70
 	 * @param string $label the string label to describe this printout
71 71
 	 * @param mixed $data optional data for specifying some request, might be a property object, title, or something else; interpretation depends on $mode
72
-	 * @param mixed $outputformat optional string for specifying an output format, e.g. an output unit
72
+	 * @param string $outputformat optional string for specifying an output format, e.g. an output unit
73 73
 	 * @param array|null $params optional array of further, named parameters for the print request
74 74
 	 */
75 75
 	public function __construct( $mode, $label, $data = null, $outputformat = false, array $params = null ) {
@@ -137,6 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
 	/**
139 139
 	 * Convenience method for accessing the text in either HTML or Wiki format.
140
+	 * @param integer $outputMode
140 141
 	 */
141 142
 	public function getText( $outputMode, $linker = null ) {
142 143
 		return Formatter::format( $this, $linker, $outputMode );
@@ -239,7 +240,7 @@  discard block
 block discarded – undo
239 240
 	/**
240 241
 	 * Sets a print request parameter.
241 242
 	 *
242
-	 * @param $key string Name of the parameter
243
+	 * @param string $key string Name of the parameter
243 244
 	 * @param $value string Value for the parameter
244 245
 	 */
245 246
 	public function setParameter( $key, $value ) {
Please login to merge, or discard this patch.