From f934075922fa819544d437a7c258b0c884f11178 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 6 Nov 2022 15:58:50 +0000 Subject: Fix:#4589 FAM:NCHI:* is only valid in GEDCOM 7 --- app/Elements/CountOfChildrenFam.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app/Elements/CountOfChildrenFam.php (limited to 'app/Elements') diff --git a/app/Elements/CountOfChildrenFam.php b/app/Elements/CountOfChildrenFam.php new file mode 100644 index 0000000000..545881dff7 --- /dev/null +++ b/app/Elements/CountOfChildrenFam.php @@ -0,0 +1,36 @@ +. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Elements; + +use Fisharebest\Webtrees\Tree; + +/** + * COUNT_OF_CHILDREN := {Size=1:3} + * The known number of children of this individual from all marriages or, if + * subordinate to a family record, the reported number of children known to + * belong to this family, regardless of whether the associated children are + * represented in the corresponding structure. This is not necessarily the + * count of children listed in a family structure. + */ +class CountOfChildrenFam extends CountOfChildren +{ + // FAM:NCHI has no subtags, unlike INDI:NCHI + protected const SUBTAGS = []; +} -- cgit v1.3