Skip to content

Commit

Permalink
Docs: various minor fixes
Browse files Browse the repository at this point in the history
Discovered by and props to costdev via WordPress/wordpress-develop#2001

Co-authored-by: costdev <[email protected]>
  • Loading branch information
jrfnl and costdev committed Dec 7, 2021
1 parent 7ef0774 commit 15229d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Ipv6.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static function uncompress($ip) {
* Example: FF01:0:0:0:0:0:0:101 -> FF01::101
* 0:0:0:0:0:0:0:1 -> ::1
*
* @see \WpOrg\Requests\IPv6::uncompress()
* @see \WpOrg\Requests\Ipv6::uncompress()
*
* @param string $ip An IPv6 address
* @return string The compressed IPv6 address
Expand Down
4 changes: 2 additions & 2 deletions src/Iri.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* @link http://hg.gsnedders.com/iri/
*
* @property string $iri IRI we're working with
* @property-read string $uri IRI in URI form, {@see \WpOrg\Requests\IRI::to_uri()}
* @property-read string $uri IRI in URI form, {@see \WpOrg\Requests\Iri::to_uri()}
* @property string $scheme Scheme part of the IRI
* @property string $authority Authority part, formatted for a URI (userinfo + host + port)
* @property string $iauthority Authority part of the IRI (userinfo + host + port)
Expand Down Expand Up @@ -1000,7 +1000,7 @@ protected function set_fragment($ifragment) {
/**
* Convert an IRI to a URI (or parts thereof)
*
* @param string|bool $iri IRI to convert (or false from {@see \WpOrg\Requests\IRI::get_iri()})
* @param string|bool $iri IRI to convert (or false from {@see \WpOrg\Requests\Iri::get_iri()})
* @return string|false URI if IRI is valid, false otherwise.
*/
protected function to_uri($iri) {
Expand Down
8 changes: 4 additions & 4 deletions src/Proxy/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ public function __construct($args = null) {
* Register the necessary callbacks
*
* @since 1.6
* @see \WpOrg\Requests\Proxy\HTTP::curl_before_send()
* @see \WpOrg\Requests\Proxy\HTTP::fsockopen_remote_socket()
* @see \WpOrg\Requests\Proxy\HTTP::fsockopen_remote_host_path()
* @see \WpOrg\Requests\Proxy\HTTP::fsockopen_header()
* @see \WpOrg\Requests\Proxy\Http::curl_before_send()
* @see \WpOrg\Requests\Proxy\Http::fsockopen_remote_socket()
* @see \WpOrg\Requests\Proxy\Http::fsockopen_remote_host_path()
* @see \WpOrg\Requests\Proxy\Http::fsockopen_header()
* @param \WpOrg\Requests\Hooks $hooks Hook system
*/
public function register(Hooks $hooks) {
Expand Down

0 comments on commit 15229d5

Please sign in to comment.