@@ -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 | } |
@@ -31,8 +31,7 @@ |
||
| 31 | 31 | $depth = (int)$record[0]; |
| 32 | 32 | if(isset($record[2])){ |
| 33 | 33 | $_romn = trim($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[2])){ |
| 33 | 33 | $_fone = trim($record[2]); |
| 34 | - } |
|
| 35 | - else{ |
|
| 34 | + } else{ |
|
| 36 | 35 | $parser->skipToNextLevel($depth); |
| 37 | 36 | return null; |
| 38 | 37 | } |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | if(isset($record[2])){ |
| 33 | 33 | $sour = new \PhpGedcom\Record\SourRef(); |
| 34 | 34 | $sour->setSour($parser->normalizeIdentifier($record[2])); |
| 35 | - } |
|
| 36 | - else{ |
|
| 35 | + } else{ |
|
| 37 | 36 | $parser->skipToNextLevel($depth); |
| 38 | 37 | return null; |
| 39 | 38 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | if (isset($record[2])) { |
| 34 | 34 | $_caln = $record[2]; |
| 35 | 35 | $caln->setCaln($_caln); |
| 36 | - }else{ |
|
| 36 | + } else{ |
|
| 37 | 37 | return null; |
| 38 | 38 | } |
| 39 | 39 | |
@@ -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 | } |
@@ -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 | } |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | $attr = new $className(); |
| 35 | 35 | |
| 36 | 36 | $attr->setType(trim($record[1])); |
| 37 | - } |
|
| 38 | - else{ |
|
| 37 | + } else{ |
|
| 39 | 38 | $parser->skipToNextLevel($depth); |
| 40 | 39 | return null; |
| 41 | 40 | } |