@@ -153,8 +153,7 @@ |
||
| 153 | 153 | \FamilyTree365\LaravelGedcom\Utils\Importer\NoteRef::read($conn, $item, $_group, $_gid); |
| 154 | 154 | } |
| 155 | 155 | } |
| 156 | - } |
|
| 157 | - catch(Throwable $e) |
|
| 156 | + } catch(Throwable $e) |
|
| 158 | 157 | { |
| 159 | 158 | report($e); |
| 160 | 159 | } |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | \FamilyTree365\LaravelGedcom\Utils\Importer\NoteRef::read($conn, $item, $_group, $_gid); |
| 64 | 64 | } |
| 65 | 65 | } |
| 66 | - } |
|
| 67 | - catch(Throwable $e) |
|
| 66 | + } catch(Throwable $e) |
|
| 68 | 67 | { |
| 69 | 68 | report($e); |
| 70 | 69 | } |
@@ -49,8 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | return $_gid; |
| 52 | - } |
|
| 53 | - catch(Throwable $e) |
|
| 52 | + } catch(Throwable $e) |
|
| 54 | 53 | { |
| 55 | 54 | report($e); |
| 56 | 55 | } |
@@ -17,7 +17,9 @@ discard block |
||
| 17 | 17 | public static function read($conn, $events, $person, $obje_ids = []) |
| 18 | 18 | { |
| 19 | 19 | |
| 20 | - if(empty($person)) return; |
|
| 20 | + if(empty($person)) { |
|
| 21 | + return; |
|
| 22 | + } |
|
| 21 | 23 | |
| 22 | 24 | $eventData = []; |
| 23 | 25 | foreach ($events as $event) { |
@@ -367,8 +369,7 @@ discard block |
||
| 367 | 369 | // $person->addEvent($_type, $date, $plac); |
| 368 | 370 | } |
| 369 | 371 | } |
| 370 | - } |
|
| 371 | - catch(Throwable $e) |
|
| 372 | + } catch(Throwable $e) |
|
| 372 | 373 | { |
| 373 | 374 | report($e); |
| 374 | 375 | } |