This commit is contained in:
2021-07-13 17:06:08 +08:00
parent 661fc54ba2
commit 250b5b0928
2 changed files with 10 additions and 29 deletions
+2 -2
View File
@@ -143,11 +143,11 @@ class ErrorHandler extends Component implements ErrorInterface
/**
* @param $message
* @param $category
* @param string $category
*
* @throws Exception
*/
public function writer($message, $category = 'app')
public function writer($message, string $category = 'app')
{
Snowflake::app()->debug($message, $category);
}