Continue with getter/setter cleanup

This commit is contained in:
Dennis Eichhorn 2023-05-30 15:44:19 +02:00
parent d61da02878
commit 9700b13830
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ final class BackendController extends Controller
{
$view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/PL/Theme/Backend/pl-dashboard');
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1006401001, $request, $response));
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1006401001, $request, $response);
return $view;
}

View File

@ -12,4 +12,4 @@
*/
declare(strict_types=1);
echo $this->getData('nav')->render();
echo $this->data['nav']->render();