Issues (1369)

viewreport.php (1 issue)

Labels
Severity
1
<?php
2
3
include('common.' . substr(strrchr(__FILE__, '.'), 1));
4
5
$template = SnTemplate::gettemplate('viewreport', true);
0 ignored issues
show
true of type true is incompatible with the type null|template expected by parameter $template of SnTemplate::gettemplate(). ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

5
$template = SnTemplate::gettemplate('viewreport', /** @scrutinizer ignore-type */ true);
Loading history...
6
$template->assign_var('PAGE_HINT', $lang['cr_view_hint']);
7
8
SnTemplate::display($template, $lang['cr_view_title']);
9