[*] правка метода под php 8.1
This commit is contained in:
1 parent
0c15ce2ed0
commit
6af2256c49
2 files changed
+3
-2
No files matched your search
Generated
+1
-1
@@ -238,7 +238,7 @@
|
||||
</server>
|
||||
</servers>
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="7.4">
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.1">
|
||||
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
||||
</component>
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
|
||||
@@ -515,7 +515,8 @@
|
||||
if (is_array($v)) {
|
||||
$table .= self::arrayToTable($v);
|
||||
} else {
|
||||
$table .= '<pre>' . htmlspecialchars($v) . '</pre>';
|
||||
$v = $v === null ? '<i>NULL</i>' : htmlspecialchars($v);
|
||||
$table .= '<pre>' . $v . '</pre>';
|
||||
}
|
||||
$table .= '</td>';
|
||||
$table .= '</tr>';
|
||||
|
||||
Reference in new issue
Block a user