summaryrefslogtreecommitdiff
path: root/resources/views/modules
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/modules')
-rw-r--r--resources/views/modules/ckeditor/ckeditor-js.phtml2
-rw-r--r--resources/views/modules/gedcom_favorites/favorites.phtml2
-rw-r--r--resources/views/modules/relatives/family.phtml6
-rw-r--r--resources/views/modules/user_favorites/favorites.phtml2
4 files changed, 6 insertions, 6 deletions
diff --git a/resources/views/modules/ckeditor/ckeditor-js.phtml b/resources/views/modules/ckeditor/ckeditor-js.phtml
index 96d6dd3a6b..7c41367e77 100644
--- a/resources/views/modules/ckeditor/ckeditor-js.phtml
+++ b/resources/views/modules/ckeditor/ckeditor-js.phtml
@@ -2,7 +2,7 @@
<?php use Fisharebest\Webtrees\Services\ModuleService; ?>
<?php use Fisharebest\Webtrees\View; ?>
-<?php if (app()->make(ModuleService::class)->findByInterface(CkeditorModule::class)): ?>
+<?php if (app(ModuleService::class)->findByInterface(CkeditorModule::class)): ?>
<?php View::push('javascript') ?>
<script src="<?= e(CkeditorModule::CKEDITOR_PATH) ?>ckeditor.js"></script>
<script src="<?= e(CkeditorModule::CKEDITOR_PATH) ?>adapters/jquery.js"></script>
diff --git a/resources/views/modules/gedcom_favorites/favorites.phtml b/resources/views/modules/gedcom_favorites/favorites.phtml
index e2456c1bdd..0684eff874 100644
--- a/resources/views/modules/gedcom_favorites/favorites.phtml
+++ b/resources/views/modules/gedcom_favorites/favorites.phtml
@@ -7,7 +7,7 @@
<?php if ($favorite->favorite_type === 'URL') : ?>
<a href="<?= e($favorite->url) ?>"><b><?= e($favorite->title) ?></b></a>
<?php elseif ($favorite->record instanceof Individual) : ?>
- <?= app()->make(ModuleThemeInterface::class)->individualBoxLarge($favorite->record) ?>
+ <?= app(ModuleThemeInterface::class)->individualBoxLarge($favorite->record) ?>
<?php elseif ($favorite->record !== null) : ?>
<?= $favorite->record->formatList() ?>
<?php endif ?>
diff --git a/resources/views/modules/relatives/family.phtml b/resources/views/modules/relatives/family.phtml
index 5a47c868ed..16b493d2b0 100644
--- a/resources/views/modules/relatives/family.phtml
+++ b/resources/views/modules/relatives/family.phtml
@@ -32,7 +32,7 @@
<?= Functions::getCloseRelationshipName($individual, $person) ?>
</th>
<td class="border-0 p-0">
- <?= app()->make(ModuleThemeInterface::class)->individualBoxLarge($person) ?>
+ <?= app(ModuleThemeInterface::class)->individualBoxLarge($person) ?>
</td>
</tr>
<?php
@@ -70,7 +70,7 @@
<?= Functions::getCloseRelationshipName($individual, $person) ?>
</th>
<td class="border-0 p-0">
- <?= app()->make(ModuleThemeInterface::class)->individualBoxLarge($person) ?>
+ <?= app(ModuleThemeInterface::class)->individualBoxLarge($person) ?>
</td>
</tr>
<?php
@@ -179,7 +179,7 @@
<?= Functions::getCloseRelationshipName($individual, $person) ?>
</th>
<td class="border-0 p-0">
- <?= app()->make(ModuleThemeInterface::class)->individualBoxLarge($person) ?>
+ <?= app(ModuleThemeInterface::class)->individualBoxLarge($person) ?>
</td>
</tr>
<?php
diff --git a/resources/views/modules/user_favorites/favorites.phtml b/resources/views/modules/user_favorites/favorites.phtml
index 1429780524..8e2026ba4b 100644
--- a/resources/views/modules/user_favorites/favorites.phtml
+++ b/resources/views/modules/user_favorites/favorites.phtml
@@ -7,7 +7,7 @@
<?php if ($favorite->favorite_type === 'URL') : ?>
<a href="<?= e($favorite->url) ?>"><b><?= e($favorite->title) ?></b></a>
<?php elseif ($favorite->record instanceof Individual) : ?>
- <?= app()->make(ModuleThemeInterface::class)->individualBoxLarge($favorite->record) ?>
+ <?= app(ModuleThemeInterface::class)->individualBoxLarge($favorite->record) ?>
<?php elseif ($favorite->record !== null) : ?>
<?= $favorite->record->formatList() ?>
<?php endif ?>