summaryrefslogtreecommitdiff
path: root/resources/views/modules/statistics-chart
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-12-03 15:46:03 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-12-03 17:40:14 +0000
commitd70512ab02636ee884ef6d7907223ed02c754ff5 (patch)
tree1b5a9a0e229b428955e9b2fad81142c62f2dc554 /resources/views/modules/statistics-chart
parent69100c6d2f376ba137a90d02f7e41a8ae5929352 (diff)
downloadwebtrees-d70512ab02636ee884ef6d7907223ed02c754ff5.tar.gz
webtrees-d70512ab02636ee884ef6d7907223ed02c754ff5.tar.bz2
webtrees-d70512ab02636ee884ef6d7907223ed02c754ff5.zip
Apply PSR12 code style to templates
Diffstat (limited to 'resources/views/modules/statistics-chart')
-rw-r--r--resources/views/modules/statistics-chart/families.phtml5
-rw-r--r--resources/views/modules/statistics-chart/individuals.phtml5
-rw-r--r--resources/views/modules/statistics-chart/other.phtml5
-rw-r--r--resources/views/modules/statistics-chart/page.phtml2
4 files changed, 14 insertions, 3 deletions
diff --git a/resources/views/modules/statistics-chart/families.phtml b/resources/views/modules/statistics-chart/families.phtml
index d4e6e9063d..4c79d5da60 100644
--- a/resources/views/modules/statistics-chart/families.phtml
+++ b/resources/views/modules/statistics-chart/families.phtml
@@ -1,7 +1,10 @@
<?php
+
/** @var Statistics $stats */
-use Fisharebest\Webtrees\Statistics; ?>
+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 14d664a451..499f9444b8 100644
--- a/resources/views/modules/statistics-chart/individuals.phtml
+++ b/resources/views/modules/statistics-chart/individuals.phtml
@@ -1,7 +1,10 @@
<?php
+
/** @var Statistics $stats */
-use Fisharebest\Webtrees\Statistics; ?>
+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 0bfeab8305..fa2e7c24d2 100644
--- a/resources/views/modules/statistics-chart/other.phtml
+++ b/resources/views/modules/statistics-chart/other.phtml
@@ -1,9 +1,12 @@
<?php
+
declare(strict_types=1);
/** @var Statistics $stats */
-use Fisharebest\Webtrees\Statistics; ?>
+use Fisharebest\Webtrees\Statistics;
+
+?>
<div class="container pt-3">
<?= view('statistics/other/total-records', ['stats' => $stats]) ?>
diff --git a/resources/views/modules/statistics-chart/page.phtml b/resources/views/modules/statistics-chart/page.phtml
index 86ba0994ba..eab740a57c 100644
--- a/resources/views/modules/statistics-chart/page.phtml
+++ b/resources/views/modules/statistics-chart/page.phtml
@@ -1,7 +1,9 @@
<?php
+
declare(strict_types=1);
use Fisharebest\Webtrees\View;
+
?>
<h2 class="wt-page-title">