@@ -113,6 +113,9 @@ discard block |
||
| 113 | 113 | return $result; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | + /** |
|
| 117 | + * @param QueryResult $res |
|
| 118 | + */ |
|
| 116 | 119 | private function getVCardContent( $res ) { |
| 117 | 120 | |
| 118 | 121 | $result = ''; |
@@ -402,6 +405,9 @@ discard block |
||
| 402 | 405 | return $list; |
| 403 | 406 | } |
| 404 | 407 | |
| 408 | + /** |
|
| 409 | + * @return string |
|
| 410 | + */ |
|
| 405 | 411 | private function getFieldValue( $field ) { |
| 406 | 412 | |
| 407 | 413 | $v = ''; |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace SRF\vCard; |
| 4 | 4 | |
| 5 | -use SMWQueryResult as QueryResult; |
|
| 5 | +use SMWQueryResult as QueryResult; |
|
| 6 | 6 | use SMWQueryProcessor as QueryProcessor; |
| 7 | 7 | use SMWQuery as Query; |
| 8 | 8 | use SMWExportPrinter as FileExportPrinter; |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @since 3.0 |
| 19 | 19 | * |
| 20 | 20 | * @param array $modules |
| 21 | - * @param array $styleModules |
|
| 21 | + * @param string[] $styleModules |
|
| 22 | 22 | */ |
| 23 | 23 | public static function registerResources( array $modules = [], array $styleModules = [] ) { |
| 24 | 24 | |