summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Helpers/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Helpers/functions.php b/app/Helpers/functions.php
index 6e641a23f7..11bc908832 100644
--- a/app/Helpers/functions.php
+++ b/app/Helpers/functions.php
@@ -17,8 +17,8 @@
declare(strict_types=1);
use Fisharebest\Webtrees\Application;
+use Fisharebest\Webtrees\View;
use Fisharebest\Webtrees\Webtrees;
-use Illuminate\Cache\Repository;
/**
* Get the IoC container, or fetch something from it.
@@ -105,5 +105,5 @@ function route(string $route, array $parameters = [], bool $absolute = true): st
*/
function view(string $name, array $data = [])
{
- return \Fisharebest\Webtrees\View::make($name, $data);
+ return View::make($name, $data);
}