Completed
Push — master ( 80ae61...4726ae )
by Jeroen
8s
created
src/VCardParser.php 3 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param string $filename
56 56
      *
57
-     * @return JeroenDesloovere\VCard\VCardParser
57
+     * @return VCardParser
58 58
      */
59 59
     public static function parseFromFile($filename)
60 60
     {
@@ -65,6 +65,9 @@  discard block
 block discarded – undo
65 65
         }
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $content
70
+     */
68 71
     public function __construct($content)
69 72
     {
70 73
         $this->content = $content;
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * The raw VCard content.
40
-    *
40
+     *
41 41
      * @var string
42 42
      */
43 43
     protected $content;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
                         $cardData->fullname = $value;
155 155
                         break;
156 156
                     case 'N':
157
-                        foreach($this->parseName($value) as $key => $val) {
157
+                        foreach ($this->parseName($value) as $key => $val) {
158 158
                             $cardData->{$key} = $val;
159 159
                         }
160 160
                         break;
Please login to merge, or discard this patch.