diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-12-03 15:46:03 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-12-03 17:40:14 +0000 |
| commit | d70512ab02636ee884ef6d7907223ed02c754ff5 (patch) | |
| tree | 1b5a9a0e229b428955e9b2fad81142c62f2dc554 /resources/views/statistics/families/top10-list-grand.phtml | |
| parent | 69100c6d2f376ba137a90d02f7e41a8ae5929352 (diff) | |
| download | webtrees-d70512ab02636ee884ef6d7907223ed02c754ff5.tar.gz webtrees-d70512ab02636ee884ef6d7907223ed02c754ff5.tar.bz2 webtrees-d70512ab02636ee884ef6d7907223ed02c754ff5.zip | |
Apply PSR12 code style to templates
Diffstat (limited to 'resources/views/statistics/families/top10-list-grand.phtml')
| -rw-r--r-- | resources/views/statistics/families/top10-list-grand.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/views/statistics/families/top10-list-grand.phtml b/resources/views/statistics/families/top10-list-grand.phtml index 1bbd813ba8..f505f810d0 100644 --- a/resources/views/statistics/families/top10-list-grand.phtml +++ b/resources/views/statistics/families/top10-list-grand.phtml @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); use Fisharebest\Webtrees\Family; @@ -8,9 +9,9 @@ use Fisharebest\Webtrees\I18N; /* @var Family $family */ ?> -<?php if ($records): ?> +<?php if ($records) : ?> <ul class="list-group list-group-flush"> - <?php foreach ($records as $record): ?> + <?php foreach ($records as $record) : ?> <?php $family = $record['family']; ?> <li class="list-group-item d-flex justify-content-between align-items-center"> <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> @@ -20,7 +21,7 @@ use Fisharebest\Webtrees\I18N; </li> <?php endforeach; ?> </ul> -<?php else: ?> +<?php else : ?> <div class="card-body"> <?= I18N::translate('This information is not available.') ?> </div> |
