Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/updraftp.../vendor/guzzleht.../guzzle/src/Exceptio...
File: ConnectException.php
<?php
[0] Fix | Delete
namespace GuzzleHttp\Exception;
[1] Fix | Delete
[2] Fix | Delete
use Psr\Http\Message\RequestInterface;
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* Exception thrown when a connection cannot be established.
[6] Fix | Delete
*
[7] Fix | Delete
* Note that no response is present for a ConnectException
[8] Fix | Delete
*/
[9] Fix | Delete
class ConnectException extends RequestException
[10] Fix | Delete
{
[11] Fix | Delete
public function __construct(
[12] Fix | Delete
$message,
[13] Fix | Delete
RequestInterface $request,
[14] Fix | Delete
\Exception $previous = null,
[15] Fix | Delete
array $handlerContext = []
[16] Fix | Delete
) {
[17] Fix | Delete
parent::__construct($message, $request, null, $previous, $handlerContext);
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* @return null
[22] Fix | Delete
*/
[23] Fix | Delete
public function getResponse()
[24] Fix | Delete
{
[25] Fix | Delete
return null;
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* @return bool
[30] Fix | Delete
*/
[31] Fix | Delete
public function hasResponse()
[32] Fix | Delete
{
[33] Fix | Delete
return false;
[34] Fix | Delete
}
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function