Skip to content

Fix typos in documentation #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

```php
$promise = $proxy->connect('imap.example.com:143');
$promise->then(null, function (Exeption $e) {
$promise->then(null, function (Exception $e) {
if ($e->getCode() === SOCKET_EACCES) {
echo 'Failed to authenticate with proxy!';
}
Expand Down Expand Up @@ -250,7 +250,7 @@

## 0.7.0 (2017-04-14)

* Feature / BC break: Replace depreacted SocketClient with Socket v0.7 and
* Feature / BC break: Replace deprecated SocketClient with Socket v0.7 and
use `connect($uri)` instead of `create($host, $port)`
(#51 by @clue)

Expand Down Expand Up @@ -470,7 +470,7 @@
* First stable release
* Async SOCKS `Client` and `Server` implementation
* Project was originally part of [clue/socks](https://github.com/clue/php-socks)
and was split off from its latest releave v0.4.0
and was split off from its latest release v0.4.0
([#1](https://github.com/clue/reactphp-socks/issues/1))

> Upgrading from clue/socks v0.4.0? Use namespace `Clue\React\Socks` instead of `Socks` and you're ready to go!
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ private function handleSocks5(ConnectionInterface $stream, $host, $port, StreamR
// IPv6 address => skip IP and port
return $reader->readLength(18);
} else {
throw new Exception('Invalid SOCKS reponse: Invalid address type');
throw new Exception('Invalid SOCKS response: Invalid address type');
}
});
}
Expand Down