@@ -76,7 +76,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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; |
@@ -126,7 +126,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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( |
@@ -18,7 +18,6 @@ |
||
18 | 18 | /** |
19 | 19 | * @since 2.5 |
20 | 20 | * |
21 | - * @param Query|null $query |
|
22 | 21 | * |
23 | 22 | * @return string |
24 | 23 | */ |
@@ -3,7 +3,6 @@ |
||
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 |
@@ -123,6 +123,10 @@ |
||
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? |
@@ -130,7 +130,6 @@ |
||
130 | 130 | /** |
131 | 131 | * @since 2.5 |
132 | 132 | * |
133 | - * @param DIProperty $property |
|
134 | 133 | * |
135 | 134 | * @return boolean |
136 | 135 | */ |
@@ -4,7 +4,6 @@ |
||
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 | /** |
@@ -157,6 +157,8 @@ |
||
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 ) { |
@@ -52,7 +52,7 @@ |
||
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 |
@@ -243,6 +243,9 @@ |
||
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' ) |
@@ -9,7 +9,6 @@ |
||
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 |