Skip to content

Commit

Permalink
Merge pull request #112 from yadaiio/typos
Browse files Browse the repository at this point in the history
Fix typos in documentation
  • Loading branch information
clue authored May 28, 2024
2 parents c54e663 + 742389c commit c201994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit c201994

Please sign in to comment.