aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-06-15 13:38:47 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-06-17 17:04:44 +0200
commite6302603cbad55e033ac7549087b219eb0ed8688 (patch)
treeb61851cf664ffc33421b0d2652cc06c6586a82bb
parent45f8fd3e82668f671dc13e00f13ae36ca5baf8bc (diff)
downloadWebsocket-e6302603cbad55e033ac7549087b219eb0ed8688.zip
Websocket-e6302603cbad55e033ac7549087b219eb0ed8688.tar.gz
Websocket-e6302603cbad55e033ac7549087b219eb0ed8688.tar.bz2
Connection: Use `::class` instead of a string.
-rw-r--r--Connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Connection.php b/Connection.php
index f741038..14fb68b 100644
--- a/Connection.php
+++ b/Connection.php
@@ -194,7 +194,7 @@ abstract class Connection
public function __construct(HoaSocket\Connection $connection)
{
parent::__construct($connection);
- $this->getConnection()->setNodeName('\Hoa\Websocket\Node');
+ $this->getConnection()->setNodeName(Node::class);
$this->setListener(
new Event\Listener(
$this,