File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public static function parse(\Gedcom\Parser $parser)
112112 case 'ENDL ' :
113113 case 'SLGC ' :
114114 $ className = ucfirst (strtolower ($ recordType ));
115- $ class = 'GedcomParserIndiz ' .$ className ;
115+ $ class = 'GedcomParserIndi ' .$ className ;
116116
117117 $ lds = $ class ::parse ($ parser );
118118 $ indi ->{'add ' .$ recordType }[] = $ lds ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public static function parse(\Gedcom\Parser $parser)
2121 $ record = $ parser ->getCurrentLineRecord ();
2222 $ depth = (int ) $ record [0 ];
2323 if (isset ($ record [1 ])) {
24- $ className = 'GedcomRecordzIndiz ' .ucfirst (strtolower (trim ($ record [1 ])));
24+ $ className = 'GedcomRecordIndi ' .ucfirst (strtolower (trim ($ record [1 ])));
2525 $ attr = new $ className ();
2626
2727 $ attr ->setType (trim ($ record [1 ]));
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public static function parse(\Gedcom\Parser $parser)
3131 $ even = null ;
3232
3333 if (strtoupper (trim ($ record [1 ])) != 'EVEN ' ) {
34- $ className = 'GedcomRecordzIndiz ' .ucfirst (strtolower (trim ($ record [1 ])));
34+ $ className = 'GedcomRecordIndi ' .ucfirst (strtolower (trim ($ record [1 ])));
3535 $ even = new $ className ();
3636 } else {
3737 $ even = new \Gedcom \Record \Indi \Even ();
@@ -102,7 +102,7 @@ public static function parse(\Gedcom\Parser $parser)
102102 }
103103 break ;
104104 case 'CHAN ' :
105- $ change = Chan::parse ($ parser );
105+ $ change = \ Gedcom \ Parser \ Chan::parse ($ parser );
106106 $ even ->setChan ($ change );
107107 break ;
108108 default :
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public static function parse(\Gedcom\Parser $parser)
2121 $ record = $ parser ->getCurrentLineRecord ();
2222 $ depth = (int ) $ record [0 ];
2323 if (isset ($ record [1 ])) {
24- $ className = 'GedcomRecordzIndiz ' .ucfirst (strtolower (trim ($ record [1 ])));
24+ $ className = 'GedcomRecordIndi ' .ucfirst (strtolower (trim ($ record [1 ])));
2525 $ lds = new $ className ();
2626 } else {
2727 $ parser ->skipToNextLevel ($ depth );
You can’t perform that action at this time.
0 commit comments