@@ -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 | $settings = $this->applicationFactory->getSettings(); |
@@ -79,10 +79,18 @@ discard block |
||
| 79 | 79 | return $profileAnnotator; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | + /** |
|
| 83 | + * @param DescriptionProfileAnnotator $profileAnnotator |
|
| 84 | + * @param string $format |
|
| 85 | + */ |
|
| 82 | 86 | private function newFormatProfileAnnotator( $profileAnnotator, $format ) { |
| 83 | 87 | return new FormatProfileAnnotator( $profileAnnotator, $format ); |
| 84 | 88 | } |
| 85 | 89 | |
| 90 | + /** |
|
| 91 | + * @param FormatProfileAnnotator $profileAnnotator |
|
| 92 | + * @param Query $query |
|
| 93 | + */ |
|
| 86 | 94 | private function newParametersProfileAnnotator( $profileAnnotator, $query ) { |
| 87 | 95 | |
| 88 | 96 | if ( $query->getOption( Query::OPT_PARAMETERS ) === false ) { |
@@ -96,6 +104,10 @@ discard block |
||
| 96 | 104 | return new DurationProfileAnnotator( $profileAnnotator, $duration ); |
| 97 | 105 | } |
| 98 | 106 | |
| 107 | + /** |
|
| 108 | + * @param DurationProfileAnnotator $profileAnnotator |
|
| 109 | + * @param string|null $querySource |
|
| 110 | + */ |
|
| 99 | 111 | private function newSourceProfileAnnotator( $profileAnnotator, $querySource ) { |
| 100 | 112 | |
| 101 | 113 | if ( $querySource === '' ) { |