This commit is contained in:
as2252258@163.com
2021-09-21 00:43:45 +08:00
parent 4830ada35d
commit 404b367cc2
3 changed files with 15 additions and 2 deletions
@@ -3,6 +3,8 @@
namespace Server\Abstracts;
use JetBrains\PhpStorm\Pure;
/**
*
*/
@@ -13,7 +15,7 @@ class PageNotFoundException extends \Exception
/**
*
*/
public function __construct(int $code)
#[Pure] public function __construct(int $code)
{
parent::__construct('<h2>HTTP 404 Not Found</h2><hr><i>Powered by Swoole</i>', $code);
}