@@ -131,6 +131,9 @@ discard block |
||
131 | 131 | $this->reportMessage( "done.\n" ); |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param string $tableName |
|
136 | + */ |
|
134 | 137 | private function getIndexInfo( $tableName ) { |
135 | 138 | |
136 | 139 | $tableName = $this->connection->tableName( $tableName ); |
@@ -154,6 +157,9 @@ discard block |
||
154 | 157 | return $indices; |
155 | 158 | } |
156 | 159 | |
160 | + /** |
|
161 | + * @param string $tableName |
|
162 | + */ |
|
157 | 163 | private function doDropIndex( $tableName, $indexName, $columns ) { |
158 | 164 | $this->reportMessage( " ... removing index $columns ..." ); |
159 | 165 | $this->connection->query( 'DROP INDEX ' . $indexName, __METHOD__ ); |
@@ -131,6 +131,9 @@ discard block |
||
131 | 131 | $this->reportMessage( "done.\n" ); |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param string $tableName |
|
136 | + */ |
|
134 | 137 | private function getIndexInfo( $tableName ) { |
135 | 138 | |
136 | 139 | $tableName = $this->connection->tableName( $tableName ); |
@@ -154,6 +157,9 @@ discard block |
||
154 | 157 | return $indices; |
155 | 158 | } |
156 | 159 | |
160 | + /** |
|
161 | + * @param string $tableName |
|
162 | + */ |
|
157 | 163 | private function doDropIndex( $tableName, $indexName, $columns ) { |
158 | 164 | $this->reportMessage( " ... removing index $columns ..." ); |
159 | 165 | $this->connection->query( 'DROP INDEX ' . $indexName, __METHOD__ ); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @param string $value |
61 | 61 | * |
62 | - * @return array |
|
62 | + * @return string[] |
|
63 | 63 | */ |
64 | 64 | public function getValuesFromString( $value ) { |
65 | 65 | // #664 / T17732 |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @since 1.6 |
267 | 267 | * |
268 | - * @param $diProperty mixed null or DIProperty object for which to retrieve the types |
|
268 | + * @param SMWDIProperty $diProperty mixed null or DIProperty object for which to retrieve the types |
|
269 | 269 | * |
270 | 270 | * @return array of DIProperty |
271 | 271 | */ |
@@ -323,6 +323,10 @@ discard block |
||
323 | 323 | return $result; |
324 | 324 | } |
325 | 325 | |
326 | + /** |
|
327 | + * @param integer $type |
|
328 | + * @param SMWDataValue $dataValue |
|
329 | + */ |
|
326 | 330 | protected function makeValueOutputText( $type, $dataValue, $linker ) { |
327 | 331 | switch ( $type ) { |
328 | 332 | case 0: |
@@ -338,6 +342,9 @@ discard block |
||
338 | 342 | } |
339 | 343 | } |
340 | 344 | |
345 | + /** |
|
346 | + * @param string $value |
|
347 | + */ |
|
341 | 348 | private function newContainerSemanticData( $value ) { |
342 | 349 | |
343 | 350 | if ( $this->m_contextPage === null ) { |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * |
96 | 96 | * @since 2.5 |
97 | 97 | * |
98 | - * @param string|integer $index |
|
98 | + * @param string $index |
|
99 | 99 | * |
100 | 100 | * @return DIProperty|null |
101 | 101 | */ |
@@ -292,6 +292,9 @@ |
||
292 | 292 | return array(); |
293 | 293 | } |
294 | 294 | |
295 | + /** |
|
296 | + * @param string $value |
|
297 | + */ |
|
295 | 298 | private function newContainerSemanticData( $value ) { |
296 | 299 | |
297 | 300 | if ( $this->m_contextPage === null ) { |
@@ -120,6 +120,10 @@ |
||
120 | 120 | return $results; |
121 | 121 | } |
122 | 122 | |
123 | + /** |
|
124 | + * @param boolean $isValue |
|
125 | + * @param DataValue $dataValue |
|
126 | + */ |
|
123 | 127 | private function findValueOutputFor( $isValue, $type, $dataValue, $linker ) { |
124 | 128 | |
125 | 129 | // Turn Uri/Page links into a href representation when not used as value |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @since 1.6 |
136 | 136 | * |
137 | - * @return SMWDataItem|false |
|
137 | + * @return null|DataItem |
|
138 | 138 | */ |
139 | 139 | public function getNextDataItem() { |
140 | 140 | $this->loadContent(); |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * |
268 | 268 | * @param boolean $useLimit |
269 | 269 | * |
270 | - * @return SMWRequestOptions|null |
|
270 | + * @return SMW\RequestOptions|null |
|
271 | 271 | */ |
272 | 272 | protected function getRequestOptions( $useLimit = true ) { |
273 | 273 | return $this->resultFieldMatchFinder->getRequestOptions( $useLimit ); |
@@ -63,6 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * @since 2.4 |
65 | 65 | * |
66 | + * @param string $queryID |
|
66 | 67 | * @return array |
67 | 68 | */ |
68 | 69 | public function getEntityList( $queryID = null ) { |
@@ -76,6 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @see DataValue::getShortWikiText |
79 | + * @param string $linker |
|
79 | 80 | */ |
80 | 81 | public function getShortWikiText( $linker = null ) { |
81 | 82 | |
@@ -88,6 +89,7 @@ discard block |
||
88 | 89 | |
89 | 90 | /** |
90 | 91 | * @see DataValue::getLongWikiText |
92 | + * @param string $linker |
|
91 | 93 | */ |
92 | 94 | public function getLongWikiText( $linker = null ) { |
93 | 95 | |
@@ -154,7 +156,6 @@ discard block |
||
154 | 156 | * @see DataValue::parseUserValue |
155 | 157 | * @note called by DataValue::setUserValue |
156 | 158 | * |
157 | - * @param string $userValue |
|
158 | 159 | */ |
159 | 160 | protected function parseUserValue( $value ) { |
160 | 161 | |
@@ -171,6 +172,9 @@ discard block |
||
171 | 172 | $this->m_dataitem = new DIBlob( $value ); |
172 | 173 | } |
173 | 174 | |
175 | + /** |
|
176 | + * @param string $value |
|
177 | + */ |
|
174 | 178 | private function initPropertyChain( $value ) { |
175 | 179 | |
176 | 180 | $chain = explode( '.', $value ); |