resources/views/statistics/individuals/top10-nolist.phtml
<?php
declare(strict_types=1);
use Fisharebest\Webtrees\Individual;
/**
* @var array<array{age:string,person:Individual}> $records
*/
?>
<?php foreach ($records as $record) : ?>
<?php $person = $record['person']; ?>
<a href="<?= e($person->url()) ?>"><?= $person->fullName() ?></a> (<?= $record['age'] ?>)
<?php endforeach; ?>