From 835a5565e6707bce892dbbeacc3dbc92c11e1787 Mon Sep 17 00:00:00 2001 From: Lukas Staab Date: Thu, 10 Oct 2024 13:55:24 +0200 Subject: [PATCH] changed default title name --- app/View/Components/AppLayout.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/View/Components/AppLayout.php b/app/View/Components/AppLayout.php index 3930a54..019ee88 100644 --- a/app/View/Components/AppLayout.php +++ b/app/View/Components/AppLayout.php @@ -4,6 +4,7 @@ use Illuminate\Support\Facades\Route; use Illuminate\View\Component; +use Illuminate\View\View; use LdapRecord\Models\OpenLDAP\Entry; class AppLayout extends Component @@ -24,12 +25,12 @@ public function __construct(){ /** * Get the view / contents that represents the component. * - * @return \Illuminate\View\View + * @return View */ - public function render() + public function render(): View { return view('layouts.app', [ - 'title' => 'Default Headline - pls change', + 'title' => 'StuMV', 'routeParams' => $this->routeParams, ]); }