Completed
Push — vcard ( 1c7030 )
by mw
05:55 queued 30s
created
src/vCard/vCard.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -180,6 +180,9 @@
 block discarded – undo
180 180
 		return str_replace( [ '\\', ',', ':', ';' ], [ '\\\\', '\,', '\:', '\;' ], $text );
181 181
 	}
182 182
 
183
+	/**
184
+	 * @param string $vcard
185
+	 */
183 186
 	private function prepareCard( $vcard ) {
184 187
 
185 188
 		$vcard['label'] = '';
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SRF\vCard;
4 4
 
5
-use Title;
6
-use Article;
7
-
8 5
 /**
9 6
  * Represents a single entry in an vCard
10 7
  *
Please login to merge, or discard this patch.
src/vCard/vCardResultPrinter.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
402 405
 		return $list;
403 406
 	}
404 407
 
408
+	/**
409
+	 * @return string
410
+	 */
405 411
 	private function getFieldValue( $field ) {
406 412
 
407 413
 		$v = '';
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.