This commit is contained in:
2021-07-08 17:36:28 +08:00
parent fb48a0b508
commit 3bb3d5a1d7
+1 -1
View File
@@ -22,7 +22,7 @@ abstract class HttpService extends Component
* @param string $category * @param string $category
* @throws Exception * @throws Exception
*/ */
protected function write($message, $category = 'app') protected function write($message, string $category = 'app')
{ {
$logger = Snowflake::app()->getLogger(); $logger = Snowflake::app()->getLogger();
$logger->write($message, $category); $logger->write($message, $category);