@@ -38,7 +38,7 @@ |
||
38 | 38 | /** |
39 | 39 | * @since 2.1 |
40 | 40 | * |
41 | - * @param Title $title |
|
41 | + * @param Title|null $title |
|
42 | 42 | * |
43 | 43 | * @return PageEditor |
44 | 44 | */ |
@@ -156,7 +156,6 @@ |
||
156 | 156 | /** |
157 | 157 | * @since 2.1 |
158 | 158 | * |
159 | - * @param string $file|null |
|
160 | 159 | * |
161 | 160 | * @return JsonFileReader |
162 | 161 | */ |
@@ -22,7 +22,6 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * @since 2.0 |
24 | 24 | * |
25 | - * @param mixed $expected |
|
26 | 25 | * @param ExpData $exportData |
27 | 26 | */ |
28 | 27 | public function assertThatExportDataContainsProperty( $expectedProperties, ExpData $exportData ) { |
@@ -57,7 +56,6 @@ discard block |
||
57 | 56 | /** |
58 | 57 | * @since 2.0 |
59 | 58 | * |
60 | - * @param mixed $expected |
|
61 | 59 | * @param ExpResource $selectedElement |
62 | 60 | * @param ExpData $exportData |
63 | 61 | */ |
@@ -21,11 +21,15 @@ |
||
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @since 2.1 |
24 | + * @param string[] $titles |
|
24 | 25 | */ |
25 | 26 | public function assertThatTitleIsKnown( $titles ) { |
26 | 27 | $this->assertTitleExists( true, $titles ); |
27 | 28 | } |
28 | 29 | |
30 | + /** |
|
31 | + * @param boolean $isExpected |
|
32 | + */ |
|
29 | 33 | private function assertTitleExists( $isExpected, $titles ) { |
30 | 34 | |
31 | 35 | if ( !is_array( $titles ) ) { |
@@ -60,7 +60,8 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @since 1.7 |
62 | 62 | * |
63 | - * @param SMWDataItem $dataItem |
|
63 | + * @param DataItem $dataItem |
|
64 | + * @param PrintRequest $printRequest |
|
64 | 65 | * |
65 | 66 | * @return mixed |
66 | 67 | */ |
@@ -143,7 +144,7 @@ discard block |
||
143 | 144 | * |
144 | 145 | * @since 1.7 |
145 | 146 | * |
146 | - * @param SMWQueryResult $result |
|
147 | + * @param SMWQueryResult $queryResult |
|
147 | 148 | * |
148 | 149 | * @return array |
149 | 150 | */ |
@@ -194,6 +195,9 @@ discard block |
||
194 | 195 | return array( 'printrequests' => $printRequests, 'results' => $results); |
195 | 196 | } |
196 | 197 | |
198 | + /** |
|
199 | + * @param PrintRequest $printRequest |
|
200 | + */ |
|
197 | 201 | private static function getSerializedPrintRequestFormat( $printRequest ) { |
198 | 202 | |
199 | 203 | $serialized = array( |
@@ -91,6 +91,9 @@ |
||
91 | 91 | return new Conjunction( $subdescriptions ); |
92 | 92 | } |
93 | 93 | |
94 | + /** |
|
95 | + * @param \SMWDataValue $dataValue |
|
96 | + */ |
|
94 | 97 | private function newSubdescription( $dataValue, $comparator ) { |
95 | 98 | |
96 | 99 | $description = new ValueDescription( |
@@ -141,6 +141,9 @@ |
||
141 | 141 | return 'pages'; |
142 | 142 | } |
143 | 143 | |
144 | + /** |
|
145 | + * @param SMWDataValue $typeValue |
|
146 | + */ |
|
144 | 147 | private function displayExtraInformationAbout( $typeValue ) { |
145 | 148 | |
146 | 149 | $html = ''; |
@@ -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 |
@@ -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 ) { |