Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
includes/SMW_Infolink.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	 *
77 77
 	 * @param string $caption The label for the link.
78 78
 	 * @param string $target The actual link target.
79
-	 * @param mixed $style CSS class of a span to embedd the link into, or false if no extra style is required.
79
+	 * @param string|false $style CSS class of a span to embedd the link into, or false if no extra style is required.
80 80
 	 * @param array $params Array of parameters, format $name => $value, if any.
81 81
 	 *
82 82
 	 * @return SMWInfolink
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
 	 *
126 126
 	 * @param string $caption The label for the link.
127 127
 	 * @param string $subject
128
-	 * @param string $propertyName
129
-	 * @param mixed $style CSS class of a span to embed the link into, or false if no extra style is required.
128
+	 * @param string $propertyname
129
+	 * @param string $style CSS class of a span to embed the link into, or false if no extra style is required.
130 130
 	 *
131 131
 	 * @return SMWInfolink
132 132
 	 */
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	 *
146 146
 	 * @param string $caption The label for the link.
147 147
 	 * @param string $titleText
148
-	 * @param mixed $style CSS class of a span to embedd the link into, or false if no extra style is required.
148
+	 * @param string $style CSS class of a span to embedd the link into, or false if no extra style is required.
149 149
 	 *
150 150
 	 * @return SMWInfolink
151 151
 	 */
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
 	/**
190 190
 	 * Change the link text.
191
+	 * @param false|string $caption
191 192
 	 */
192 193
 	public function setCaption( $caption ) {
193 194
 		$this->mCaption = $caption;
@@ -195,6 +196,7 @@  discard block
 block discarded – undo
195 196
 
196 197
 	/**
197 198
 	 * Change the link's CSS class.
199
+	 * @param string $style
198 200
 	 */
199 201
 	public function setStyle( $style ) {
200 202
 		$this->mStyle = $style;
Please login to merge, or discard this patch.
src/MediaWiki/Database.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,6 @@  discard block
 block discarded – undo
126 126
 	 *
127 127
 	 * @since 1.9.0.2
128 128
 	 *
129
-	 * @param string $tableName
130 129
 	 *
131 130
 	 * @return string
132 131
 	 */
@@ -181,6 +180,7 @@  discard block
 block discarded – undo
181 180
 	 * @param $conditions
182 181
 	 * @param array $options
183 182
 	 * @param array $joinConditions
183
+	 * @param string $fname
184 184
 	 *
185 185
 	 * @return ResultWrapper
186 186
 	 * @throws UnexpectedValueException
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
 	 *
343 343
 	 * @param array $options
344 344
 	 *
345
-	 * @return array
345
+	 * @return string[]
346 346
 	 */
347 347
 	public function makeSelectOptions( $options ) {
348 348
 		return DatabaseHelper::makeSelectOptions( $this, $options );
@@ -376,6 +376,7 @@  discard block
 block discarded – undo
376 376
 	 * @note Use a blank trx profiler to ignore exceptions
377 377
 	 *
378 378
 	 * @since 2.4
379
+	 * @param boolean $resetTransactionProfiler
379 380
 	 */
380 381
 	function resetTransactionProfiler( $resetTransactionProfiler ) {
381 382
 		$this->resetTransactionProfiler = $resetTransactionProfiler;
@@ -471,6 +472,8 @@  discard block
 block discarded – undo
471 472
 	 * @see DatabaseBase::selectField
472 473
 	 *
473 474
 	 * @since 1.9.2
475
+	 * @param string $table
476
+	 * @param string $fieldName
474 477
 	 */
475 478
 	public function selectField( $table, $fieldName, $conditions = '', $fname = __METHOD__, $options = array() ) {
476 479
 		return $this->readConnection()->selectField( $table, $fieldName, $conditions, $fname, $options );
@@ -480,6 +483,7 @@  discard block
 block discarded – undo
480 483
 	 * @see DatabaseBase::estimateRowCount
481 484
 	 *
482 485
 	 * @since 2.1
486
+	 * @param string $table
483 487
 	 */
484 488
 	public function estimateRowCount( $table, $vars = '*', $conditions = '', $fname = __METHOD__, $options = array() ) {
485 489
 		return $this->readConnection()->estimateRowCount(
Please login to merge, or discard this patch.
src/MediaWiki/Specials/Ask/ErrorFormWidget.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 	/**
19 19
 	 * @since 2.5
20 20
 	 *
21
-	 * @param Query|null $query
22 21
 	 *
23 22
 	 * @return string
24 23
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\MediaWiki\Specials\Ask;
4 4
 
5 5
 use SMW\ProcessingErrorMsgHandler;
6
-use SMW\Message;
7 6
 use SMWQuery as Query;
8 7
 use Html;
9 8
 
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/ValueDescriptionInterpreter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -123,6 +123,10 @@
 block discarded – undo
123 123
 		return $query;
124 124
 	}
125 125
 
126
+	/**
127
+	 * @param Description $description
128
+	 * @param QuerySegment $query
129
+	 */
126 130
 	private function addFulltextSearchCondition( $description, $query, $comparator, &$value ) {
127 131
 
128 132
 		// Uses ~~ wide proximity?
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/Fulltext/SearchTable.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,6 @@
 block discarded – undo
130 130
 	/**
131 131
 	 * @since 2.5
132 132
 	 *
133
-	 * @param DIProperty $property
134 133
 	 *
135 134
 	 * @return boolean
136 135
 	 */
Please login to merge, or discard this patch.
src/SQLStore/PropertyTypeFinder.php 1 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\MediaWiki\Database;
6 6
 use SMW\DIProperty;
7
-use SMWTypesValue as TypesValue;
8 7
 use RuntimeException;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/Query/Language/SomeProperty.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -157,6 +157,8 @@
 block discarded – undo
157 157
 	/**
158 158
 	 * @since 1.6
159 159
 	 *
160
+	 * @param integer $maxsize
161
+	 * @param integer $maxdepth
160 162
 	 * @return SomeProperty
161 163
 	 */
162 164
 	public function prune( &$maxsize, &$maxdepth, &$log ) {
Please login to merge, or discard this patch.
src/SPARQLStore/RepositoryRedirectLookup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	 * @since 1.6
53 53
 	 *
54 54
 	 * @param ExpNsResource $expNsResource string URI to check
55
-	 * @param boolean $existsthat is set to true if $expNsResource is in the
55
+	 * @param boolean|null $exists is set to true if $expNsResource is in the
56 56
 	 * store; always false for blank nodes; always true for subobjects
57 57
 	 *
58 58
 	 * @return ExpNsResource
Please login to merge, or discard this patch.
tests/phpunit/Unit/SPARQLStore/RepositoryRedirectLookupTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@
 block discarded – undo
243 243
 		$this->assertFalse( $exists );
244 244
 	}
245 245
 
246
+	/**
247
+	 * @return \SMW\SPARQLStore\RepositoryConnection
248
+	 */
246 249
 	private function createRepositoryConnectionMockToUse( $listReturnValue ) {
247 250
 
248 251
 		$repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' )
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SMWExpLiteral as ExpLiteral;
10 10
 use SMWExpNsResource as ExpNsResource;
11 11
 use SMWExporter as Exporter;
12
-use SMWExpResource as ExpResource;
13 12
 
14 13
 /**
15 14
  * @covers \SMW\SPARQLStore\RepositoryRedirectLookup
Please login to merge, or discard this patch.