Completed
Push — master ( f5d374...685013 )
by mw
47:54 queued 25:05
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/SQLStore/TableBuilder/MySQLTableBuilder.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/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/SQLStore/TableBuilder/SQLiteTableBuilder.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.
includes/datavalues/SMW_DV_Record.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @param string $value
61 61
 	 *
62
-	 * @return array
62
+	 * @return string[]
63 63
 	 */
64 64
 	public function getValuesFromString( $value ) {
65 65
 		// #664 / T17732
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 	 *
266 266
 	 * @since 1.6
267 267
 	 *
268
-	 * @param $diProperty mixed null or DIProperty object for which to retrieve the types
268
+	 * @param SMWDIProperty $diProperty mixed null or DIProperty object for which to retrieve the types
269 269
 	 *
270 270
 	 * @return array of DIProperty
271 271
 	 */
@@ -323,6 +323,10 @@  discard block
 block discarded – undo
323 323
 		return $result;
324 324
 	}
325 325
 
326
+	/**
327
+	 * @param integer $type
328
+	 * @param SMWDataValue $dataValue
329
+	 */
326 330
 	protected function makeValueOutputText( $type, $dataValue, $linker ) {
327 331
 		switch ( $type ) {
328 332
 			case 0:
@@ -338,6 +342,9 @@  discard block
 block discarded – undo
338 342
 		}
339 343
 	}
340 344
 
345
+	/**
346
+	 * @param string $value
347
+	 */
341 348
 	private function newContainerSemanticData( $value ) {
342 349
 
343 350
 		if ( $this->m_contextPage === null ) {
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.