From 31fd7199fb18f0551c673e1374536b2cede95336 Mon Sep 17 00:00:00 2001 From: Ihor Sychevskyi Date: Fri, 30 Jun 2023 06:12:56 +0300 Subject: [PATCH] update src folder links (#236) --- src/Client.php | 4 ++-- src/CurlTransport.php | 4 ++-- src/JsonFormatter.php | 4 ++-- src/StreamTransport.php | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Client.php b/src/Client.php index bceeee1..ca2e516 100644 --- a/src/Client.php +++ b/src/Client.php @@ -37,12 +37,12 @@ class Client extends Component const FORMAT_JSON = 'json'; /** * urlencoded by RFC1738 query string, like name1=value1&name2=value2 - * @see http://php.net/manual/en/function.urlencode.php + * @see https://php.net/manual/en/function.urlencode.php */ const FORMAT_URLENCODED = 'urlencoded'; /** * urlencoded by PHP_QUERY_RFC3986 query string, like name1=value1&name2=value2 - * @see http://php.net/manual/en/function.rawurlencode.php + * @see https://php.net/manual/en/function.rawurlencode.php */ const FORMAT_RAW_URLENCODED = 'raw-urlencoded'; /** diff --git a/src/CurlTransport.php b/src/CurlTransport.php index 346ae0a..d2ea63c 100644 --- a/src/CurlTransport.php +++ b/src/CurlTransport.php @@ -10,11 +10,11 @@ use Yii; /** - * CurlTransport sends HTTP messages using [Client URL Library (cURL)](http://php.net/manual/en/book.curl.php) + * CurlTransport sends HTTP messages using [Client URL Library (cURL)](https://php.net/manual/en/book.curl.php) * * Note: this transport requires PHP 'curl' extension installed. * - * For this transport, you may setup request options as [cURL Options](http://php.net/manual/en/function.curl-setopt.php) + * For this transport, you may setup request options as [cURL Options](https://php.net/manual/en/function.curl-setopt.php) * * @author Paul Klimov * @since 2.0 diff --git a/src/JsonFormatter.php b/src/JsonFormatter.php index 5bd4914..728edbd 100644 --- a/src/JsonFormatter.php +++ b/src/JsonFormatter.php @@ -20,7 +20,7 @@ class JsonFormatter extends BaseObject implements FormatterInterface { /** * @var int the encoding options. For more details please refer to - * . + * . */ public $encodeOptions = 0; @@ -36,4 +36,4 @@ public function format(Request $request) } return $request; } -} \ No newline at end of file +} diff --git a/src/StreamTransport.php b/src/StreamTransport.php index 07a3620..006d4ee 100644 --- a/src/StreamTransport.php +++ b/src/StreamTransport.php @@ -12,9 +12,9 @@ use yii\helpers\Inflector; /** - * StreamTransport sends HTTP messages using [Streams](http://php.net/manual/en/book.stream.php) + * StreamTransport sends HTTP messages using [Streams](https://php.net/manual/en/book.stream.php) * - * For this transport, you may setup request options using [Context Options](http://php.net/manual/en/context.php) + * For this transport, you may setup request options using [Context Options](https://php.net/manual/en/context.php) * * @author Paul Klimov * @since 2.0 @@ -60,7 +60,7 @@ public function send($request) $context = stream_context_create($contextOptions); $stream = fopen($url, 'rb', false, $context); $responseContent = stream_get_contents($stream); - // see http://php.net/manual/en/reserved.variables.httpresponseheader.php + // see https://php.net/manual/en/reserved.variables.httpresponseheader.php $responseHeaders = (array)$http_response_header; fclose($stream); } catch (\Exception $e) { @@ -96,4 +96,4 @@ private function composeContextOptions(array $options) } return $contextOptions; } -} \ No newline at end of file +}