@@ -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 | /** |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\ApplicationFactory; |
6 | 6 | use SMW\MediaWiki\Renderer\HtmlFormRenderer; |
7 | -use Onoi\MessageReporter\MessageReporterFactory; |
|
8 | 7 | use SMW\Message; |
9 | 8 | use SMW\MediaWiki\Database; |
10 | 9 | use Html; |
@@ -69,6 +69,7 @@ discard block |
||
69 | 69 | * |
70 | 70 | * @since 1.9 |
71 | 71 | * |
72 | + * @param boolean $mode |
|
72 | 73 | * @return AskParserFunction |
73 | 74 | */ |
74 | 75 | public function setShowMode( $mode ) { |
@@ -218,6 +219,9 @@ discard block |
||
218 | 219 | return $result; |
219 | 220 | } |
220 | 221 | |
222 | + /** |
|
223 | + * @param Query $query |
|
224 | + */ |
|
221 | 225 | private function addQueryProfile( $query, $format ) { |
222 | 226 | |
223 | 227 | // If the smwgQueryProfiler is marked with FALSE then just don't create a profile. |
@@ -73,14 +73,25 @@ |
||
73 | 73 | return $profileAnnotator; |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param DescriptionProfileAnnotator $profileAnnotator |
|
78 | + * @param string $format |
|
79 | + */ |
|
76 | 80 | private function newFormatProfileAnnotator( $profileAnnotator, $format ) { |
77 | 81 | return new FormatProfileAnnotator( $profileAnnotator, $format ); |
78 | 82 | } |
79 | 83 | |
84 | + /** |
|
85 | + * @param FormatProfileAnnotator $profileAnnotator |
|
86 | + */ |
|
80 | 87 | private function newDurationProfileAnnotator( $profileAnnotator, $duration ) { |
81 | 88 | return new DurationProfileAnnotator( $profileAnnotator, $duration ); |
82 | 89 | } |
83 | 90 | |
91 | + /** |
|
92 | + * @param DurationProfileAnnotator $profileAnnotator |
|
93 | + * @param string|null $querySource |
|
94 | + */ |
|
84 | 95 | private function newSourceProfileAnnotator( $profileAnnotator, $querySource ) { |
85 | 96 | |
86 | 97 | if ( $querySource === '' ) { |
@@ -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 ) { |