@@ -3,7 +3,7 @@ |
||
| 3 | 3 | namespace SRF\iCalendar; |
| 4 | 4 | |
| 5 | 5 | use SRF\iCalendar\IcalTimezoneFormatter; |
| 6 | -use SMWQueryResult as QueryResult; |
|
| 6 | +use SMWQueryResult as QueryResult; |
|
| 7 | 7 | use SMWQueryProcessor as QueryProcessor; |
| 8 | 8 | use SMWQuery as Query; |
| 9 | 9 | use SMWExportPrinter as FileExportPrinter; |
@@ -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; |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /** |
| 264 | - * @param $prop |
|
| 264 | + * @param string $prop |
|
| 265 | 265 | * @return array |
| 266 | 266 | */ |
| 267 | 267 | protected function getPropertyId( $prop ) { |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | } |
| 313 | 313 | |
| 314 | 314 | /** |
| 315 | - * @return bool |
|
| 315 | + * @return string|null |
|
| 316 | 316 | */ |
| 317 | 317 | public function getInitError() { |
| 318 | 318 | return $this->getMapProvider() === ''? 'srf-filtered-map-provider-missing-error' : null; |