Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
includes/storage/SQLStore/SMW_SQLStore3_SetupHandlers.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -243,6 +243,7 @@
 block discarded – undo
243 243
 	 * Create some initial DB entries for important built-in properties. Having the DB contents predefined
244 244
 	 * allows us to safe DB calls when certain data is needed. At the same time, the entries in the DB
245 245
 	 * make sure that DB-based functions work as with all other properties.
246
+	 * @param boolean $verbose
246 247
 	 */
247 248
 	protected function setupPredefinedProperties( $verbose, DatabaseBase $db ) {
248 249
 		global $wgDBtype;
Please login to merge, or discard this patch.
DVDescriptionDeserializer/RecordValueDescriptionDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@
 block discarded – undo
93 93
 		}
94 94
 	}
95 95
 
96
+	/**
97
+	 * @param integer $propertyIndex
98
+	 */
96 99
 	private function getDescriptionForProperty( $diProperty, $values, &$valueIndex, $propertyIndex ) {
97 100
 
98 101
 		$values[$valueIndex] = str_replace( "-3B", ";", $values[$valueIndex] );
Please login to merge, or discard this patch.
DVDescriptionDeserializer/TimeValueDescriptionDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
 		return $description;
92 92
 	}
93 93
 
94
+	/**
95
+	 * @param \SMWDataItem $dataItem
96
+	 */
94 97
 	private function getUpperLimit( $dataItem ) {
95 98
 
96 99
 		$prec = $dataItem->getPrecision();
Please login to merge, or discard this patch.
src/Deserializers/ExpDataDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
 		return new ExpData( ExpElement::newFromSerialization( $subject ) );
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param ExpData $expData
55
+	 */
53 56
 	private function doDeserialize( $serialization, $expData ) {
54 57
 
55 58
 		foreach ( $serialization['data'] as $data ) {
Please login to merge, or discard this patch.
src/Deserializers/SemanticDataDeserializer.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 block discarded – undo
95 95
 	}
96 96
 
97 97
 	/**
98
+	 * @param DIProperty $property
98 99
 	 * @return DataItem
99 100
 	 */
100 101
 	private function doDeserializeDataItem( $property, $data, $value, $semanticData ) {
@@ -154,6 +155,7 @@  discard block
 block discarded – undo
154 155
 	 * otherwise the subobject is neglected (of course one could set an error
155 156
 	 * value to the DIContainer but as of now that seems unnecessary)
156 157
 	 *
158
+	 * @param SMWContainerSemanticData $semanticData
157 159
 	 * @return DIContainer|null
158 160
 	 */
159 161
 	private function unserializeSubobject( $data, $id, $semanticData ) {
Please login to merge, or discard this patch.
src/Exporter/DataItemToElementEncoder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	 * @since 2.2
31 31
 	 *
32 32
 	 * @param integer $dataItemType
33
-	 * @param Closure $dataItemEncoder
33
+	 * @param \Closure $dataItemEncoder
34 34
 	 */
35 35
 	public function registerDataItemEncoder( $dataItemType, \Closure $dataItemEncoder ) {
36 36
 		$this->dataItemEncoderMap[$dataItemType] = $dataItemEncoder;
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
 		throw new RuntimeException( 'Encoder did not return a valid element' );
62 62
 	}
63 63
 
64
+	/**
65
+	 * @param DataItem $dataItem
66
+	 */
64 67
 	private function tryToEncodeDataItem( $dataItem ) {
65 68
 
66 69
 		foreach ( $this->dataItemEncoderMap as $dataItemType => $dataItemEncoder ) {
Please login to merge, or discard this patch.
src/Factbox/CachedFactbox.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * @since 1.9
46 46
 	 *
47 47
 	 * @param Cache|null $cache
48
-	 * @param stdClass $cacheOptions
48
+	 * @param \stdClass $cacheOptions
49 49
 	 */
50 50
 	public function __construct( Cache $cache = null, \stdClass $cacheOptions ) {
51 51
 		$this->cache = $cache;
@@ -251,6 +251,7 @@  discard block
 block discarded – undo
251 251
 	/**
252 252
 	 * Cached content is serialized in an associative array following:
253 253
 	 * { 'revId' => $revisionId, 'text' => (...) }
254
+	 * @param string $key
254 255
 	 */
255 256
 	private function saveToCache( $key, array $content ) {
256 257
 
Please login to merge, or discard this patch.
src/Factbox/Factbox.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use SMW\MediaWiki\HtmlTableRenderer;
12 12
 use SMW\MediaWiki\MessageBuilder;
13 13
 use SMW\ParserData;
14
-use SMW\Profiler;
15 14
 use SMW\SemanticData;
16 15
 use SMW\Store;
17 16
 use SMWInfolink;
Please login to merge, or discard this patch.
Doc Comments   +9 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 *
137 137
 	 * @since 1.9
138 138
 	 *
139
-	 * @return string|null
139
+	 * @return string
140 140
 	 */
141 141
 	public function getContent() {
142 142
 		return $this->content;
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 *
194 194
 	 * @since 1.9
195 195
 	 *
196
-	 * @return array
196
+	 * @return string[]
197 197
 	 */
198 198
 	protected function getModules() {
199 199
 		return array(
@@ -211,9 +211,10 @@  discard block
 block discarded – undo
211 211
 	 *
212 212
 	 * @since 1.9
213 213
 	 *
214
-	 * @return integer $showFactbox
214
+	 * @param string|null $showFactbox
215
+	 * @return string $showFactbox
215 216
 	 *
216
-	 * @return string|null
217
+	 * @return string
217 218
 	 */
218 219
 	protected function fetchContent( $showFactbox = SMW_FACTBOX_NONEMPTY ) {
219 220
 
@@ -270,7 +271,7 @@  discard block
 block discarded – undo
270 271
 	 *
271 272
 	 * @param SMWSemanticData $semanticData
272 273
 	 *
273
-	 * @return string|null
274
+	 * @return string
274 275
 	 */
275 276
 	protected function createTable( SemanticData $semanticData ) {
276 277
 
@@ -396,6 +397,9 @@  discard block
 block discarded – undo
396 397
 		}
397 398
 	}
398 399
 
400
+	/**
401
+	 * @param \SMWDataValue $dataValue
402
+	 */
399 403
 	private function getInfolink( $dataValue ) {
400 404
 
401 405
 		if ( $dataValue->getProperty()->getKey() !== '_SOBJ' ) {
Please login to merge, or discard this patch.
src/HashBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 	 *
98 98
 	 * @param string
99 99
 	 *
100
-	 * @return DIWikiPage|null
100
+	 * @return DIWikiPage
101 101
 	 */
102 102
 	public static function newDiWikiPageFromHash( $hash ) {
103 103
 
Please login to merge, or discard this patch.