use GuzzleHttp\ClientInterface;
use GuzzleHttp\RequestOptions;
use InvalidArgumentException;
+use Psr\Http\Client\ClientInterface as PsrClientInterface;
use wcf\system\Regex;
/**
/**
* Returns a reference to the default HTTP client.
*
- * @return Psr\Http\Client\ClientInterface & ClientInterface
+ * @return PsrClientInterface&ClientInterface
*/
public static function getDefaultClient(): ClientInterface
{
*
* @since 5.4
* @see HttpFactory::makeClient()
- * @return Psr\Http\Client\ClientInterface & ClientInterface
+ * @return PsrClientInterface&ClientInterface
*/
public static function makeClientWithTimeout(float $timeout): ClientInterface
{
* specifically removed by passing appropriate options.
*
* @see Client
- * @return Psr\Http\Client\ClientInterface & ClientInterface
+ * @return PsrClientInterface&ClientInterface
*/
public static function makeClient(array $options = []): ClientInterface
{