summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-02 21:32:20 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-02 21:32:20 +0000
commitb9e83029756642f04f9f82e50f4c75252938bfaf (patch)
tree1253b908c658b0cfbac07483a7de7ddb22434102
parentcab242e7d7a773b0a6dab130048696e26fd6612c (diff)
downloadwebtrees-b9e83029756642f04f9f82e50f4c75252938bfaf.tar.gz
webtrees-b9e83029756642f04f9f82e50f4c75252938bfaf.tar.bz2
webtrees-b9e83029756642f04f9f82e50f4c75252938bfaf.zip
Import class
-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);
}