This commit is contained in:
2020-12-25 15:57:52 +08:00
parent f18031c2c0
commit 2013129406
7 changed files with 91 additions and 89 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace HttpServer\Http\Formatter;
use Exception;
use HttpServer\Application;
use SimpleXMLElement;
use Swoole\Http\Response;
@@ -33,7 +34,7 @@ class XmlFormatter extends Application implements IFormatter
/**
* @param $context
* @return $this
* @throws \Exception
* @throws Exception
*/
public function send($context): static
{