Completed
Push — master ( c672a3...ac777e )
by Stefan
01:27
created
src/Port.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -149,6 +149,9 @@
 block discarded – undo
149 149
         return false;
150 150
     }
151 151
 
152
+    /**
153
+     * @param integer $port
154
+     */
152 155
     protected function checkUdpPort($port): bool
153 156
     {
154 157
         $handler = @fsockopen(
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,13 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Gemz\Port;
4 4
 
5
+use Gemz\Port\Exceptions\InvalidArgument;
5 6
 use React\Promise\Deferred;
6 7
 use React\Promise\PromiseInterface;
7
-use React\Socket\Connector;
8
-use React\EventLoop\Factory;
9
-use React\EventLoop\LoopInterface;
10
-use React\Socket\ConnectionInterface;
11
-use Gemz\Port\Exceptions\InvalidArgument;
12 8
 
13 9
 class Port
14 10
 {
Please login to merge, or discard this patch.