Skip to content

Commit

Permalink
update src folder links (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell authored Jun 30, 2023
1 parent 86684ba commit 31fd719
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
/**
Expand Down
4 changes: 2 additions & 2 deletions src/CurlTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
* @since 2.0
Expand Down
4 changes: 2 additions & 2 deletions src/JsonFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class JsonFormatter extends BaseObject implements FormatterInterface
{
/**
* @var int the encoding options. For more details please refer to
* <http://www.php.net/manual/en/function.json-encode.php>.
* <https://www.php.net/manual/en/function.json-encode.php>.
*/
public $encodeOptions = 0;

Expand All @@ -36,4 +36,4 @@ public function format(Request $request)
}
return $request;
}
}
}
8 changes: 4 additions & 4 deletions src/StreamTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
* @since 2.0
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -96,4 +96,4 @@ private function composeContextOptions(array $options)
}
return $contextOptions;
}
}
}

0 comments on commit 31fd719

Please sign in to comment.