@@ -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 === '' ) { |