* [framework] Exception need args.

This commit is contained in:
朱金勇
2025-11-18 09:26:07 +08:00
committed by Gitfox
parent 43c6a9358e
commit 0fe2321bd2
+1 -2
View File
@@ -3763,8 +3763,7 @@ class EndResponseException extends \Exception
*/
public static function create($content = '')
{
$exception = new self;
$exception->content = $content;
$exception = new self($content);
return $exception;
}