@@ -30,12 +30,12 @@ |
||
30 | 30 | $record = $parser->getCurrentLineRecord(); |
31 | 31 | $depth = (int)$record[0]; |
32 | 32 | if(isset($record[2])){ |
33 | - $name = new \PhpGedcom\Record\Indi\Name(); |
|
34 | - $name->setName(trim($record[2])); |
|
33 | + $name = new \PhpGedcom\Record\Indi\Name(); |
|
34 | + $name->setName(trim($record[2])); |
|
35 | 35 | } |
36 | 36 | else{ |
37 | - $parser->skipToNextLevel($depth); |
|
38 | - return null; |
|
37 | + $parser->skipToNextLevel($depth); |
|
38 | + return null; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 |
@@ -24,6 +24,6 @@ |
||
24 | 24 | { |
25 | 25 | $record = $parser->getCurrentLineRecord(); |
26 | 26 | if(isset($record[2])) |
27 | - $even->setFamc(trim($record[2])); |
|
27 | + $even->setFamc(trim($record[2])); |
|
28 | 28 | } |
29 | 29 | } |
@@ -30,12 +30,12 @@ |
||
30 | 30 | $record = $parser->getCurrentLineRecord(); |
31 | 31 | $depth = (int)$record[0]; |
32 | 32 | if(isset($record[1])){ |
33 | - $className = '\\PhpGedcom\\Record\\Indi\\' . ucfirst(strtolower(trim($record[1]))); |
|
34 | - $lds = new $className(); |
|
33 | + $className = '\\PhpGedcom\\Record\\Indi\\' . ucfirst(strtolower(trim($record[1]))); |
|
34 | + $lds = new $className(); |
|
35 | 35 | } |
36 | 36 | else{ |
37 | - $parser->skipToNextLevel($depth); |
|
38 | - return null; |
|
37 | + $parser->skipToNextLevel($depth); |
|
38 | + return null; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | $record = $parser->getCurrentLineRecord(); |
26 | 26 | if(isset($record[2])){ |
27 | - $even->setFamc(trim($record[2])); |
|
27 | + $even->setFamc(trim($record[2])); |
|
28 | 28 | } |
29 | 29 | } |
30 | 30 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $file = new \PhpGedcom\Record\ObjeRef\File(); |
31 | 31 | $record = $parser->getCurrentLineRecord(); |
32 | - $depth = (int) $record[0]; |
|
32 | + $depth = (int) $record[0]; |
|
33 | 33 | if(isset($record[2])) { |
34 | 34 | $file->setFile($record[2]); |
35 | 35 | }else { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $form = new \PhpGedcom\Record\ObjeRef\File\Form(); |
31 | 31 | $record = $parser->getCurrentLineRecord(); |
32 | - $depth = (int) $record[0]; |
|
32 | + $depth = (int) $record[0]; |
|
33 | 33 | if(isset($record[2])) { |
34 | 34 | $form->setForm($record[2]); |
35 | 35 | } else { |
@@ -30,11 +30,11 @@ |
||
30 | 30 | $record = $parser->getCurrentLineRecord(4); |
31 | 31 | $depth = (int)$record[0]; |
32 | 32 | if(isset($record[1])){ |
33 | - $identifier = $parser->normalizeIdentifier($record[1]); |
|
33 | + $identifier = $parser->normalizeIdentifier($record[1]); |
|
34 | 34 | } |
35 | 35 | else{ |
36 | - $parser->skipToNextLevel($depth); |
|
37 | - return null; |
|
36 | + $parser->skipToNextLevel($depth); |
|
37 | + return null; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | $note = new \PhpGedcom\Record\Note(); |
@@ -30,11 +30,11 @@ |
||
30 | 30 | $record = $parser->getCurrentLineRecord(); |
31 | 31 | $depth = (int)$record[0]; |
32 | 32 | if(isset($record[2])){ |
33 | - $_plac = trim($record[2]); |
|
33 | + $_plac = trim($record[2]); |
|
34 | 34 | } |
35 | 35 | else{ |
36 | - $parser->skipToNextLevel($depth); |
|
37 | - return null; |
|
36 | + $parser->skipToNextLevel($depth); |
|
37 | + return null; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | $plac = new \PhpGedcom\Record\Plac(); |
@@ -30,12 +30,12 @@ |
||
30 | 30 | $record = $parser->getCurrentLineRecord(); |
31 | 31 | $depth = (int)$record[0]; |
32 | 32 | if(isset($record[2])){ |
33 | - $refn = new \PhpGedcom\Record\Refn(); |
|
34 | - $refn->setRefn(trim($record[2])); |
|
33 | + $refn = new \PhpGedcom\Record\Refn(); |
|
34 | + $refn->setRefn(trim($record[2])); |
|
35 | 35 | } |
36 | 36 | else{ |
37 | - $parser->skipToNextLevel($depth); |
|
38 | - return null; |
|
37 | + $parser->skipToNextLevel($depth); |
|
38 | + return null; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 |