📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: MessageFormatterTrait.php
<?php namespace App\Traits; use App\Service\NcGatewayApi\Caller; trait MessageFormatterTrait { public const MSG_TYPE_INFO = 1; public const MSG_TYPE_COMMENT = 2; public const MSG_TYPE_ERROR = 3; protected function prepareMessage(string $msg, int $type): string { return match ($type) { self::MSG_TYPE_INFO => sprintf("<info>%s</info>\n", $msg), self::MSG_TYPE_COMMENT => sprintf("<comment>%s</comment>\n", $msg), self::MSG_TYPE_ERROR => sprintf("<error>%s</error>\n", $msg), default => '', }; } }
Save