diff options
Diffstat (limited to 'resources/views/statistics/families')
9 files changed, 32 insertions, 28 deletions
diff --git a/resources/views/statistics/families/top10-list-age.phtml b/resources/views/statistics/families/top10-list-age.phtml index 299ca92579..0cc0e8a80d 100644 --- a/resources/views/statistics/families/top10-list-age.phtml +++ b/resources/views/statistics/families/top10-list-age.phtml @@ -2,14 +2,12 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; -use Fisharebest\Webtrees\Individual; -/* @var array $records */ -/* @var Family $family */ -/* @var Individual $child1 */ -/* @var Individual $child2 */ +/** + * @var array<array> $records + */ + ?> <?php if ($records) : ?> diff --git a/resources/views/statistics/families/top10-list-grand.phtml b/resources/views/statistics/families/top10-list-grand.phtml index f505f810d0..08bf46a8a8 100644 --- a/resources/views/statistics/families/top10-list-grand.phtml +++ b/resources/views/statistics/families/top10-list-grand.phtml @@ -2,11 +2,12 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; -/* @var array $records */ -/* @var Family $family */ +/** + * @var array<array> $records + */ + ?> <?php if ($records) : ?> diff --git a/resources/views/statistics/families/top10-list-spouses.phtml b/resources/views/statistics/families/top10-list-spouses.phtml index a8d2303bee..d1517beeb6 100644 --- a/resources/views/statistics/families/top10-list-spouses.phtml +++ b/resources/views/statistics/families/top10-list-spouses.phtml @@ -2,11 +2,12 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; -/* @var array $records */ -/* @var Family $family */ +/** + * @var array<array> $records + */ + ?> <?php if ($records) : ?> diff --git a/resources/views/statistics/families/top10-list.phtml b/resources/views/statistics/families/top10-list.phtml index d21f075aa0..aca891a57b 100644 --- a/resources/views/statistics/families/top10-list.phtml +++ b/resources/views/statistics/families/top10-list.phtml @@ -2,11 +2,12 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; -/* @var array $records */ -/* @var Family $family */ +/** + * @var array<array> $records + */ + ?> <?php if ($records) : ?> diff --git a/resources/views/statistics/families/top10-nolist-age.phtml b/resources/views/statistics/families/top10-nolist-age.phtml index f98d604734..0870712387 100644 --- a/resources/views/statistics/families/top10-nolist-age.phtml +++ b/resources/views/statistics/families/top10-nolist-age.phtml @@ -6,10 +6,10 @@ use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; use Fisharebest\Webtrees\Individual; -/* @var array $record */ -/* @var Family $family */ -/* @var Individual $child1 */ -/* @var Individual $child2 */ +/** + * @var array<Family|Individual> $record + */ + ?> <?php $child1 = $record['child1']; ?> diff --git a/resources/views/statistics/families/top10-nolist-grand.phtml b/resources/views/statistics/families/top10-nolist-grand.phtml index 612165032e..c94275a6a3 100644 --- a/resources/views/statistics/families/top10-nolist-grand.phtml +++ b/resources/views/statistics/families/top10-nolist-grand.phtml @@ -2,11 +2,12 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; -/* @var array $records */ -/* @var Family $family */ +/** + * @var array<array> $records + */ + ?> <?php foreach ($records as $record) : ?> diff --git a/resources/views/statistics/families/top10-nolist-spouses.phtml b/resources/views/statistics/families/top10-nolist-spouses.phtml index 313cf562f2..554a5ab8d8 100644 --- a/resources/views/statistics/families/top10-nolist-spouses.phtml +++ b/resources/views/statistics/families/top10-nolist-spouses.phtml @@ -2,10 +2,10 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; +/** + * @var array<array> $records + */ -/* @var array $records */ -/* @var Family $family */ ?> <?php foreach ($records as $record) : ?> diff --git a/resources/views/statistics/families/top10-nolist.phtml b/resources/views/statistics/families/top10-nolist.phtml index 5281927097..f427c7fefb 100644 --- a/resources/views/statistics/families/top10-nolist.phtml +++ b/resources/views/statistics/families/top10-nolist.phtml @@ -2,11 +2,12 @@ declare(strict_types=1); -use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\I18N; -/* @var array $records */ -/* @var Family $family */ +/** + * @var array<array> $records + */ + ?> <?php foreach ($records as $record) : ?> diff --git a/resources/views/statistics/families/total-records.phtml b/resources/views/statistics/families/total-records.phtml index 232852dc2e..81032a3155 100644 --- a/resources/views/statistics/families/total-records.phtml +++ b/resources/views/statistics/families/total-records.phtml @@ -6,6 +6,7 @@ use Fisharebest\Webtrees\I18N; use Fisharebest\Webtrees\Statistics; /** @var Statistics $stats */ + ?> <h4 class="border-bottom p-2 mb-4"> |
