@@ -67,7 +67,6 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * @see AbstractMultiValue::getProperties |
69 | 69 | * |
70 | - * @param DIProperty[] $properties |
|
71 | 70 | */ |
72 | 71 | public function getProperties() { |
73 | 72 | self::$properties; |
@@ -78,6 +77,7 @@ discard block |
||
78 | 77 | * |
79 | 78 | * @param $userValue |
80 | 79 | * @param string $languageCode |
80 | + * @param string $text |
|
81 | 81 | * |
82 | 82 | * @return string |
83 | 83 | */ |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | /** |
278 | 278 | * @since 2.5 |
279 | 279 | * |
280 | - * @return array |
|
280 | + * @return string |
|
281 | 281 | */ |
282 | 282 | public function toArray() { |
283 | 283 | |
@@ -325,6 +325,9 @@ discard block |
||
325 | 325 | return $list['_TEXT'] . '@' . $list['_LCODE']; |
326 | 326 | } |
327 | 327 | |
328 | + /** |
|
329 | + * @param string $value |
|
330 | + */ |
|
328 | 331 | private function newContainerSemanticData( $value ) { |
329 | 332 | |
330 | 333 | if ( $this->m_contextPage === null ) { |
@@ -82,7 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * @since 2.4 |
84 | 84 | * |
85 | - * @param integer|boolean $queryFeatures |
|
85 | + * @param integer $queryFeatures |
|
86 | 86 | * |
87 | 87 | * @return QueryParser |
88 | 88 | */ |
@@ -122,6 +122,9 @@ discard block |
||
122 | 122 | ); |
123 | 123 | } |
124 | 124 | |
125 | + /** |
|
126 | + * @param DIProperty $property |
|
127 | + */ |
|
125 | 128 | public function createQueryForSamplePagesThatContain( $property, array &$expectedSubjects ) { |
126 | 129 | |
127 | 130 | foreach ( $expectedSubjects as $key => $expectedSubject ) { |
@@ -159,6 +162,9 @@ discard block |
||
159 | 162 | return $query; |
160 | 163 | } |
161 | 164 | |
165 | + /** |
|
166 | + * @param \SMWDIWikiPage[] $results |
|
167 | + */ |
|
162 | 168 | private function assertResultOrder( $expected, $results ) { |
163 | 169 | |
164 | 170 | $hasSameOrder = true; |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * @since 1.9 |
36 | 36 | * |
37 | - * @param array $diType |
|
37 | + * @param array $diTypes |
|
38 | 38 | * @param array $specialProperties |
39 | 39 | * @param array $userDefinedFixedProperties |
40 | 40 | */ |
@@ -148,6 +148,9 @@ discard block |
||
148 | 148 | } |
149 | 149 | } |
150 | 150 | |
151 | + /** |
|
152 | + * @param string $fixedPropertyTablePrefix |
|
153 | + */ |
|
151 | 154 | private function addTableDefinitionForFixedProperties( array $properties, $fixedPropertyTablePrefix ) { |
152 | 155 | foreach( $properties as $propertyKey => $propetyTableSuffix ) { |
153 | 156 |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @since 1.9 |
65 | 65 | * |
66 | - * @param mixed $error |
|
66 | + * @param string $error |
|
67 | 67 | */ |
68 | 68 | public function addError( $error ) { |
69 | 69 | $this->errors = array_merge( (array)$error === $error ? $error : array( $error ), $this->errors ); |
@@ -239,6 +239,11 @@ discard block |
||
239 | 239 | return $this->parseFromJson( $results ); |
240 | 240 | } |
241 | 241 | |
242 | + /** |
|
243 | + * @param boolean $pipe |
|
244 | + * |
|
245 | + * @return string |
|
246 | + */ |
|
242 | 247 | private function lookAheadOnNextElement( &$params, &$pipe ) { |
243 | 248 | |
244 | 249 | $separator = ''; |
@@ -120,6 +120,7 @@ discard block |
||
120 | 120 | /** |
121 | 121 | * @since 2.2 |
122 | 122 | * |
123 | + * @param string $version |
|
123 | 124 | * @return boolean |
124 | 125 | */ |
125 | 126 | public function requiredToSkipForJsonVersion( $version ) { |
@@ -305,6 +306,11 @@ discard block |
||
305 | 306 | } ); |
306 | 307 | } |
307 | 308 | |
309 | + /** |
|
310 | + * @param string $index |
|
311 | + * |
|
312 | + * @return string |
|
313 | + */ |
|
308 | 314 | private function getFileContentsFor( $index ) { |
309 | 315 | |
310 | 316 | $contents = $this->fileReader->read(); |
@@ -90,8 +90,8 @@ |
||
90 | 90 | /** |
91 | 91 | * @see EntityLookup::getInProperties |
92 | 92 | * |
93 | - * @param DataItem $object |
|
94 | - * @param RequestOptions|null $requestOptions |
|
93 | + * @param SMWDataItem $object |
|
94 | + * @param RequestOptions|null $requestoptions |
|
95 | 95 | * |
96 | 96 | * @return DataItem[]|[] |
97 | 97 | */ |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @since 2.5 |
28 | 28 | * |
29 | 29 | * @param DIWikiPage $subject |
30 | - * @param string[]|bool $filter |
|
30 | + * @param boolean $filter |
|
31 | 31 | * |
32 | 32 | * @return SemanticData |
33 | 33 | */ |
@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @since 2.5 |
72 | 72 | * |
73 | - * @param DIWikiPage|null $subject |
|
74 | 73 | * @param DIProperty $property |
75 | 74 | * @param RequestOptions|null $requestOptions |
76 | 75 | * |
@@ -110,6 +109,7 @@ discard block |
||
110 | 109 | * @since 2.5 |
111 | 110 | * |
112 | 111 | * @param DIWikiPage|null $subject |
112 | + * @return void |
|
113 | 113 | */ |
114 | 114 | public function resetCacheBy( DIWikiPage $subject = null ); |
115 | 115 |
@@ -58,6 +58,9 @@ |
||
58 | 58 | return $this->handlers[$type] = $this->newHandlerByType( $type ); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $type |
|
63 | + */ |
|
61 | 64 | private function newHandlerByType( $type ) { |
62 | 65 | |
63 | 66 | switch ( $type ) { |