* fix type.

This commit is contained in:
liwenrui
2024-02-29 10:19:59 +08:00
parent 5d3fae8c84
commit eadd8cb8e2
+2 -2
View File
@@ -4,7 +4,7 @@ namespace zin;
class chatBtn extends wg
{
public static function getPageCSS(): string|false
public static function getPageCSS(): ?string
{
return <<<CSS
#chat-container {position: fixed; left: 96px; right: 0; height: calc(100% - 40px); display: none;}
@@ -13,7 +13,7 @@ class chatBtn extends wg
CSS;
}
public static function getPageJS(): string|false
public static function getPageJS(): ?string
{
$aiChatURL = createLink('ai', 'chat');
$chatContainer = <<<HTML