@@ -29,7 +29,6 @@ |
||
29 | 29 | /** |
30 | 30 | * @see DataValue::parseUserValue |
31 | 31 | * |
32 | - * @param string $value |
|
33 | 32 | */ |
34 | 33 | protected function parseUserValue( $userValue ) { |
35 | 34 |
@@ -31,7 +31,6 @@ |
||
31 | 31 | * @since 2.1 |
32 | 32 | * |
33 | 33 | * @param Language $contentLanguage |
34 | - * @param Language|null $userLanguage |
|
35 | 34 | */ |
36 | 35 | public function __construct( Language $contentLanguage) { |
37 | 36 | $this->contentLanguage = $contentLanguage; |
@@ -182,6 +182,11 @@ |
||
182 | 182 | return true; |
183 | 183 | } |
184 | 184 | |
185 | + /** |
|
186 | + * @param string $property |
|
187 | + * |
|
188 | + * @return string |
|
189 | + */ |
|
185 | 190 | private function preprocessPropertyString( $property ) { |
186 | 191 | |
187 | 192 | if ( $property{0} !== '_' ) { |
@@ -119,6 +119,9 @@ |
||
119 | 119 | return $text . $languagecode; |
120 | 120 | } |
121 | 121 | |
122 | + /** |
|
123 | + * @param DataValue $dataValue |
|
124 | + */ |
|
122 | 125 | private function findValueOutputFor( $type, $dataValue, $linker ) { |
123 | 126 | switch ( $type ) { |
124 | 127 | case self::VALUE: return $dataValue->getWikiValue(); |
@@ -95,7 +95,6 @@ discard block |
||
95 | 95 | * $icon should be one of: 'warning' (default), 'info'. |
96 | 96 | * |
97 | 97 | * @param array $messages |
98 | - * @param string $icon Acts like an enum. Callers must ensure safety, since this value is used directly in the output. |
|
99 | 98 | * @param string $seperator |
100 | 99 | * @param boolean $escape Should the messages be escaped or not (ie when they already are) |
101 | 100 | * |
@@ -201,7 +200,7 @@ discard block |
||
201 | 200 | * @param mixed $namespace |
202 | 201 | * @param boolean $complete |
203 | 202 | * |
204 | - * @return true |
|
203 | + * @return boolean |
|
205 | 204 | * |
206 | 205 | * @codeCoverageIgnore |
207 | 206 | */ |
@@ -72,6 +72,9 @@ |
||
72 | 72 | return $abbreviate && $length > 255 ? $this->getAbbreviatedText( $text, $length, $linker ) : $text; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param integer $length |
|
77 | + */ |
|
75 | 78 | private function getAbbreviatedText( $text, $length, $linker ) { |
76 | 79 | |
77 | 80 | if ( $linker === false || $linker === null ) { |
@@ -72,6 +72,9 @@ |
||
72 | 72 | return $abbreviate && $length > 255 ? $this->getAbbreviatedText( $text, $length, $linker ) : $text; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param integer $length |
|
77 | + */ |
|
75 | 78 | private function getAbbreviatedText( $text, $length, $linker ) { |
76 | 79 | |
77 | 80 | if ( $linker === false || $linker === null ) { |
@@ -69,7 +69,6 @@ discard block |
||
69 | 69 | * |
70 | 70 | * @since 2.4 |
71 | 71 | * |
72 | - * @param DITime $dataItem |
|
73 | 72 | * @param boolean $mindefault determining whether values below the |
74 | 73 | * precision of our input should be completed with minimal or maximal |
75 | 74 | * conceivable values |
@@ -110,7 +109,6 @@ discard block |
||
110 | 109 | * |
111 | 110 | * @since 2.4 |
112 | 111 | * |
113 | - * @param DITime $dataItem |
|
114 | 112 | * |
115 | 113 | * @return string |
116 | 114 | */ |
@@ -157,7 +155,7 @@ discard block |
||
157 | 155 | * |
158 | 156 | * @since 2.4 |
159 | 157 | * |
160 | - * @param DITime $dataitem |
|
158 | + * @param DITime $dataItem |
|
161 | 159 | * |
162 | 160 | * @return string |
163 | 161 | */ |
@@ -68,6 +68,9 @@ discard block |
||
68 | 68 | return $output; |
69 | 69 | } |
70 | 70 | |
71 | + /** |
|
72 | + * @param string $format |
|
73 | + */ |
|
71 | 74 | private function containsDateFormatRule( $format ) { |
72 | 75 | |
73 | 76 | foreach ( str_split( $format ) as $value ) { |
@@ -88,6 +91,8 @@ discard block |
||
88 | 91 | * - M A short textual representation of a month, three letters |
89 | 92 | * - a Lowercase Ante meridiem and Post meridiem am or pm |
90 | 93 | * - A Uppercase Ante meridiem and Post meridiem |
94 | + * @param \DateTime $dateTime |
|
95 | + * @param string $format |
|
91 | 96 | */ |
92 | 97 | private function getFormattedOutputWithTextualRepresentationReplacement( $dateTime, $format ) { |
93 | 98 |