diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-10-09 14:00:47 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-10-09 20:45:24 +0100 |
| commit | 3cfcc809af53e831fa6cafac7b274a2cb407db6e (patch) | |
| tree | 17776f251f701ea946875c7eb532f1bfeeef4f94 /resources/views/modules/statistics-chart | |
| parent | c81b7bf19f35fbd9d805aa3658f596ace2d433d9 (diff) | |
| download | webtrees-3cfcc809af53e831fa6cafac7b274a2cb407db6e.tar.gz webtrees-3cfcc809af53e831fa6cafac7b274a2cb407db6e.tar.bz2 webtrees-3cfcc809af53e831fa6cafac7b274a2cb407db6e.zip | |
Working on routing; Code cleanup
Diffstat (limited to 'resources/views/modules/statistics-chart')
3 files changed, 9 insertions, 6 deletions
diff --git a/resources/views/modules/statistics-chart/families.phtml b/resources/views/modules/statistics-chart/families.phtml index 84a2753750..d4e6e9063d 100644 --- a/resources/views/modules/statistics-chart/families.phtml +++ b/resources/views/modules/statistics-chart/families.phtml @@ -1,6 +1,7 @@ <?php -/** @var \Fisharebest\Webtrees\Statistics $stats */ -?> +/** @var Statistics $stats */ + +use Fisharebest\Webtrees\Statistics; ?> <div class="container pt-3"> <?= view('statistics/families/total-records', ['stats' => $stats]) ?> diff --git a/resources/views/modules/statistics-chart/individuals.phtml b/resources/views/modules/statistics-chart/individuals.phtml index 0585809dfb..14d664a451 100644 --- a/resources/views/modules/statistics-chart/individuals.phtml +++ b/resources/views/modules/statistics-chart/individuals.phtml @@ -1,6 +1,7 @@ <?php -/** @var \Fisharebest\Webtrees\Statistics $stats */ -?> +/** @var Statistics $stats */ + +use Fisharebest\Webtrees\Statistics; ?> <div class="container pt-3"> <?= view('statistics/individuals/total-records', ['stats' => $stats]) ?> diff --git a/resources/views/modules/statistics-chart/other.phtml b/resources/views/modules/statistics-chart/other.phtml index 12e711c10d..0bfeab8305 100644 --- a/resources/views/modules/statistics-chart/other.phtml +++ b/resources/views/modules/statistics-chart/other.phtml @@ -1,8 +1,9 @@ <?php declare(strict_types=1); -/** @var \Fisharebest\Webtrees\Statistics $stats */ -?> +/** @var Statistics $stats */ + +use Fisharebest\Webtrees\Statistics; ?> <div class="container pt-3"> <?= view('statistics/other/total-records', ['stats' => $stats]) ?> |
