This commit is contained in:
2021-08-17 18:38:38 +08:00
parent 1cb36c8707
commit 4ab955d399
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ class OnShutdown
/**
* @param Server $server
* @param Server|null $server
*/
public function __construct(Server $server)
public function __construct(?Server $server = null)
{
}