Fix phpstan

This commit is contained in:
slawkens
2025-07-08 15:44:45 +02:00
parent 36ca755243
commit f0f2e3785f

View File

@@ -513,9 +513,6 @@ function template_place_holder($type): string
elseif ($type === 'body_start') {
$ret .= $twig->render('browsehappy.html.twig');
/**
* @var OTS_Account $account_logged
*/
if (admin()) {
global $account_logged;
$ret .= $twig->render('admin-bar.html.twig', [