Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
fix(node remote address) CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierozi committed May 2, 2017
1 parent 848c531 commit e0c937d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions Connection/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@

namespace Hoa\Socket\Connection;

use Hoa\Consistency;
use Hoa\Socket;
use Hoa\Stream;
use mageekguy\atoum\php\tokenizer\iterator\value;

/**
* Class \Hoa\Socket\Connection.
Expand All @@ -51,9 +49,9 @@
*/
abstract class Connection extends Stream implements
Stream\IStream\In,
Stream\IStream\Out,
Stream\IStream\Pathable,
\Iterator
Stream\IStream\Out,
Stream\IStream\Pathable,
\Iterator
{
/**
* Read data out-of-band.
Expand Down
3 changes: 2 additions & 1 deletion Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ public function getEncryptionType()
* @param bool $wantPeer
* @return string
*/
public function getPeerName($wantPeer = true) {
public function getPeerName($wantPeer = true)
{
return stream_socket_get_name($this->getSocket(), $wantPeer);
}
}

0 comments on commit e0c937d

Please sign in to comment.