This commit is contained in:
2020-12-17 14:12:44 +08:00
parent 9516baef92
commit 33e5416dda
38 changed files with 100 additions and 101 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
namespace HttpServer\Client;
use JetBrains\PhpStorm\Pure;
use Snowflake\Abstracts\Component;
use Snowflake\Snowflake;
use Swoole\Coroutine;
@@ -29,7 +29,7 @@ class HttpClient extends Component
/**
* @return Http2
*/
#[Pure] public static function http2(): Http2
public static function http2(): Http2
{
return Snowflake::app()->http2;
}