@@ -43,8 +43,7 @@ |
||
43 | 43 | $depth = (int)$record[0]; |
44 | 44 | if(isset($record[1])){ |
45 | 45 | $identifier = $parser->normalizeIdentifier($record[1]); |
46 | - } |
|
47 | - else{ |
|
46 | + } else{ |
|
48 | 47 | $parser->skipToNextLevel($depth); |
49 | 48 | return null; |
50 | 49 | } |
@@ -32,8 +32,7 @@ |
||
32 | 32 | if(isset($record[2])){ |
33 | 33 | $source = new \PhpGedcom\Record\Head\Sour(); |
34 | 34 | $source->setSour(trim($record[2])); |
35 | - } |
|
36 | - else{ |
|
35 | + } else{ |
|
37 | 36 | $parser->skipToNextLevel($depth); |
38 | 37 | return null; |
39 | 38 | } |
@@ -32,8 +32,7 @@ |
||
32 | 32 | if(isset($record[2])){ |
33 | 33 | $data = new \PhpGedcom\Record\Head\Sour\Data(); |
34 | 34 | $data->setData(trim($record[2])); |
35 | - } |
|
36 | - else{ |
|
35 | + } else{ |
|
37 | 36 | $parser->skipToNextLevel($depth); |
38 | 37 | return null; |
39 | 38 | } |
@@ -32,8 +32,7 @@ |
||
32 | 32 | if(isset($record[2])){ |
33 | 33 | $corp = new \PhpGedcom\Record\Head\Sour\Corp(); |
34 | 34 | $corp->setCorp(trim($record[2])); |
35 | - } |
|
36 | - else{ |
|
35 | + } else{ |
|
37 | 36 | $parser->skipToNextLevel($depth); |
38 | 37 | return null; |
39 | 38 | } |
@@ -32,8 +32,7 @@ |
||
32 | 32 | if(isset($record[2])){ |
33 | 33 | $char = new \PhpGedcom\Record\Head\Char(); |
34 | 34 | $char->setChar(trim($record[2])); |
35 | - } |
|
36 | - else{ |
|
35 | + } else{ |
|
37 | 36 | $parser->skipToNextLevel($depth); |
38 | 37 | return null; |
39 | 38 | } |
@@ -32,8 +32,7 @@ |
||
32 | 32 | if(isset($record[2])){ |
33 | 33 | $date = new \PhpGedcom\Record\Head\Date(); |
34 | 34 | $date->setDate(trim($record[2])); |
35 | - } |
|
36 | - else{ |
|
35 | + } else{ |
|
37 | 36 | $parser->skipToNextLevel($depth); |
38 | 37 | return null; |
39 | 38 | } |
@@ -31,8 +31,7 @@ |
||
31 | 31 | $depth = (int)$record[0]; |
32 | 32 | if(isset($record[2])){ |
33 | 33 | $identifier = $parser->normalizeIdentifier($record[2]); |
34 | - } |
|
35 | - else{ |
|
34 | + } else{ |
|
36 | 35 | $parser->skipToNextLevel($depth); |
37 | 36 | return null; |
38 | 37 | } |
@@ -31,8 +31,7 @@ |
||
31 | 31 | $depth = (int) $record[0]; |
32 | 32 | if(isset($record[1])){ |
33 | 33 | $identifier = $parser->normalizeIdentifier($record[1]); |
34 | - } |
|
35 | - else{ |
|
34 | + } else{ |
|
36 | 35 | $parser->skipToNextLevel($depth); |
37 | 36 | return null; |
38 | 37 | } |
@@ -33,8 +33,7 @@ |
||
33 | 33 | $depth = (int)$record[0]; |
34 | 34 | if(isset($record[1])){ |
35 | 35 | $identifier = $parser->normalizeIdentifier($record[1]); |
36 | - } |
|
37 | - else{ |
|
36 | + } else{ |
|
38 | 37 | $parser->skipToNextLevel($depth); |
39 | 38 | return null; |
40 | 39 | } |