@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @since 1.9 |
67 | 67 | * |
68 | - * @param $objectName |
|
68 | + * @param string $objectName |
|
69 | 69 | * @param $objectArguments |
70 | 70 | * |
71 | 71 | * @return mixed |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * @since 1.9 |
110 | 110 | * |
111 | 111 | * @param $length |
112 | - * @param $prefix identify a specific random string during testing |
|
112 | + * @param string $prefix identify a specific random string during testing |
|
113 | 113 | * |
114 | 114 | * @return string |
115 | 115 | */ |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * |
123 | 123 | * @since 1.9 |
124 | 124 | * |
125 | - * @param $key |
|
125 | + * @param string $key |
|
126 | 126 | * |
127 | 127 | * @return boolean |
128 | 128 | */ |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | /** |
162 | 162 | * @since 1.9 |
163 | 163 | * |
164 | - * @param $objectName |
|
164 | + * @param string $objectName |
|
165 | 165 | * |
166 | 166 | * @return MockObjectRepository|null |
167 | 167 | */ |
@@ -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 |