Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
includes/queryprinters/ListResultPrinter.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 	 *
394 394
 	 * @since 1.9
395 395
 	 *
396
-	 * @param $row
396
+	 * @param SMWResultArray[] $row
397 397
 	 *
398 398
 	 * @return string
399 399
 	 */
@@ -422,6 +422,9 @@  discard block
 block discarded – undo
422 422
 		$this->templateRenderer->addField( '#', $this->numRows );
423 423
 	}
424 424
 
425
+	/**
426
+	 * @param SMWQueryResult $queryResult
427
+	 */
425 428
 	protected function addCommonTemplateFields( $queryResult ) {
426 429
 
427 430
 		if ( $this->mUserParam ) {
Please login to merge, or discard this patch.
includes/queryprinters/RdfResultPrinter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 	 *
59 59
 	 * @param SMWQueryResult $queryResult
60 60
 	 *
61
-	 * @return string|boolean
61
+	 * @return string
62 62
 	 */
63 63
 	public function getFileName( SMWQueryResult $queryResult ) {
64 64
 		return $this->syntax == 'turtle' ? 'result.ttl' : 'result.rdf';
Please login to merge, or discard this patch.
includes/queryprinters/ResultPrinter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	 *
189 189
 	 * @param $results SMWQueryResult
190 190
 	 * @param $fullParams array
191
-	 * @param $outputMode integer
191
+	 * @param integer $outputMode integer
192 192
 	 *
193 193
 	 * @return string
194 194
 	 */
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
 	/**
466 466
 	 * @see SMWIResultPrinter::getQueryMode
467 467
 	 *
468
-	 * @param $context
468
+	 * @param integer $context
469 469
 	 *
470 470
 	 * @return integer
471 471
 	 */
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
 	 *
608 608
 	 * @param ParamDefinition[] $definitions
609 609
 	 *
610
-	 * @return array
610
+	 * @return \ParamProcessor\IParamDefinition[]
611 611
 	 */
612 612
 	public function getParamDefinitions( array $definitions ) {
613 613
 		return array_merge( $definitions, $this->getParameters() );
Please login to merge, or discard this patch.
includes/SemanticData.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 	 * output, then the Semdata container will at least look as if properly
174 174
 	 * initialised (though empty).
175 175
 	 *
176
-	 * @return array
176
+	 * @return string[]
177 177
 	 */
178 178
 	public function __sleep() {
179 179
 		return array( 'mSubject', 'mPropVals', 'mProperties', 'subSemanticData', 'mHasVisibleProps', 'mHasVisibleSpecs', 'lastModified' );
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
 	 * Store a value for a given property identified by its text label
368 368
 	 * (without namespace prefix).
369 369
 	 *
370
-	 * @param $propertyName string
370
+	 * @param string $propertyName string
371 371
 	 * @param $dataItem SMWDataItem
372 372
 	 */
373 373
 	public function addPropertyValue( $propertyName, SMWDataItem $dataItem ) {
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
 	 *
593 593
 	 * @since 1.9
594 594
 	 *
595
-	 * @param string $subobjectName|null
595
+	 * @param string $subobjectName
596 596
 	 *
597 597
 	 * @return boolean
598 598
 	 */
Please login to merge, or discard this patch.
includes/SMW_Outputs.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@  discard block
 block discarded – undo
65 65
 	 * recorded multiple times in SMWOutputs.
66 66
 	 *
67 67
 	 * @param string $id
68
-	 * @param string $item
69 68
 	 */
70 69
 	public static function requireScript( $id, $script ) {
71 70
 		self::$scripts[$id] = $script;
@@ -81,7 +80,7 @@  discard block
 block discarded – undo
81 80
 	 * Support for calling this with the old constants SMW_HEADER_STYLE
82 81
 	 * and SMW_HEADER_TOOLTIP will vanish in SMW 1.7 at the latest.
83 82
 	 *
84
-	 * @param mixed $id
83
+	 * @param string $id
85 84
 	 * @param string $item
86 85
 	 */
87 86
 	public static function requireHeadItem( $id, $item = '' ) {
Please login to merge, or discard this patch.
includes/specials/SpecialConcepts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @param integer $from
43 43
 	 * @param integer $until
44 44
 	 *
45
-	 * @return DIWikiPage[]
45
+	 * @return \SMWDIWikiPage[]
46 46
 	 */
47 47
 	public function getResults( $limit, $from, $until ) {
48 48
 		$description = new SomeProperty( new DIProperty( '_CONC' ), new ThingDescription() );
Please login to merge, or discard this patch.
includes/storage/SMW_ResultArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	 *
105 105
 	 * @since 1.6
106 106
 	 *
107
-	 * @return SMWDataItem|false
107
+	 * @return null|SMWDataItem
108 108
 	 */
109 109
 	public function getNextDataItem() {
110 110
 		$this->loadContent();
Please login to merge, or discard this patch.
includes/storage/SMW_SQLHelpers.php 1 patch
Doc Comments   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@  discard block
 block discarded – undo
63 63
 	 * @note The function partly ignores the order in which fields are set up.
64 64
 	 * Only if the type of some field changes will its order be adjusted explicitly.
65 65
 	 *
66
-	 * @param string $tableName The table name. Does not need to have been passed to DatabaseBase->tableName yet.
67
-	 * @param array $columns The fields and their types the table should have.
66
+	 * @param string $rawTableName The table name. Does not need to have been passed to DatabaseBase->tableName yet.
68 67
 	 * @param DatabaseBase or Database $db
69 68
 	 * @param object $reportTo Object to report back to.
70 69
 	 */
@@ -88,7 +87,6 @@  discard block
 block discarded – undo
88 87
 	 * Creates a new database table with the specified fields.
89 88
 	 *
90 89
 	 * @param string $tableName The table name.
91
-	 * @param array $columns The fields and their types the table should have.
92 90
 	 * @param DatabaseBase|Database $db
93 91
 	 */
94 92
 	private static function createTable( $tableName, array $fields, $db ) {
@@ -116,7 +114,6 @@  discard block
 block discarded – undo
116 114
 	 * Update a table given an array of field names and field types.
117 115
 	 *
118 116
 	 * @param string $tableName The table name.
119
-	 * @param array $columns The fields and their types the table should have.
120 117
 	 * @param DatabaseBase|Database $db
121 118
 	 * @param object $reportTo Object to report back to.
122 119
 	 */
@@ -344,7 +341,7 @@  discard block
 block discarded – undo
344 341
 	 * Make sure that each of the column descriptions in the given array is
345 342
 	 * indexed by *one* index in the given DB table.
346 343
 	 *
347
-	 * @param string $tableName table name. Does not need to have been passed to DatabaseBase->tableName yet.
344
+	 * @param string $rawTableName table name. Does not need to have been passed to DatabaseBase->tableName yet.
348 345
 	 * @param array $indexes array of strings, each a comma separated list with column names to index
349 346
 	 * @param DatabaseBase|Database $db DatabaseBase or Database
350 347
 	 * @param object $reportTo object to report messages to; since 1.8
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_Sql3SmwIds.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
 	 *
638 638
 	 * @param integer $sid
639 639
 	 * @param DIWikiPage $subject
640
-	 * @param integer|string|null $interWiki
640
+	 * @param string $interWiki
641 641
 	 */
642 642
 	public function updateInterwikiField( $sid, DIWikiPage $subject, $interWiki = null ) {
643 643
 
@@ -891,9 +891,8 @@  discard block
 block discarded – undo
891 891
 	/**
892 892
 	 * @since 2.3
893 893
 	 *
894
-	 * @param integer $id
895 894
 	 *
896
-	 * @return string[]
895
+	 * @return DIWikiPage[]
897 896
 	 */
898 897
 	public function getDataItemPoolHashListFor( array $idlist ) {
899 898
 		return $this->byIdDataItemFinder->getDataItemPoolHashListFor( $idlist );
Please login to merge, or discard this patch.