From b1808b8e3a844c1390ceb987f6cd6a7c1b1ca9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Tue, 2 Aug 2016 09:25:23 +0200 Subject: [PATCH] Remove dead code --- src/Factory.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Factory.php b/src/Factory.php index 2ec4d79..94dcc6e 100644 --- a/src/Factory.php +++ b/src/Factory.php @@ -22,7 +22,6 @@ public function __construct(LoopInterface $loop, Resolver $resolver = null) public function createClient($address) { - $factory = $this; $loop = $this->loop; return $this->resolveAddress($address)->then(function ($address) use ($loop) { @@ -37,7 +36,6 @@ public function createClient($address) public function createServer($address) { - $factory = $this; $loop = $this->loop; return $this->resolveAddress($address)->then(function ($address) use ($loop) {