Skip to content

Commit d463111

Browse files
committed
Added type annotations for constructor
1 parent 2c632ea commit d463111

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/connection/IConnection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
interface IConnection
1313
{
1414
/**
15+
* @param string $ip
16+
* @param int $port
1517
* @param int|float $timeout
1618
*/
1719
public function __construct(string $ip = '127.0.0.1', int $port = 7687, $timeout = 15);

0 commit comments

Comments
 (0)