Skip to content

Commit 0deff31

Browse files
Use Interface as Typehint
1 parent e0e66c0 commit 0deff31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Connection extends EventEmitter
4747
*/
4848
public $parser;
4949

50-
public function __construct(LoopInterface $loop, array $connectOptions = array(), Connector $connector = null)
50+
public function __construct(LoopInterface $loop, array $connectOptions = array(), ConnectorInterface $connector = null)
5151
{
5252
$this->loop = $loop;
5353
if (!$connector) {

0 commit comments

Comments
 (0)