Updates
Some checks are pending
CI / PHPUnit (highest, 5.4) (push) Waiting to run
CI / PHPUnit (highest, 5.5) (push) Waiting to run
CI / PHPUnit (highest, 5.6) (push) Waiting to run
CI / PHPUnit (highest, 7.0) (push) Waiting to run
CI / PHPUnit (highest, 7.1) (push) Waiting to run
CI / PHPUnit (highest, 7.2) (push) Waiting to run
CI / PHPUnit (highest, 7.3) (push) Waiting to run
CI / PHPUnit (highest, 7.4) (push) Waiting to run
CI / PHPUnit (lowest, 5.4) (push) Waiting to run
Some checks are pending
CI / PHPUnit (highest, 5.4) (push) Waiting to run
CI / PHPUnit (highest, 5.5) (push) Waiting to run
CI / PHPUnit (highest, 5.6) (push) Waiting to run
CI / PHPUnit (highest, 7.0) (push) Waiting to run
CI / PHPUnit (highest, 7.1) (push) Waiting to run
CI / PHPUnit (highest, 7.2) (push) Waiting to run
CI / PHPUnit (highest, 7.3) (push) Waiting to run
CI / PHPUnit (highest, 7.4) (push) Waiting to run
CI / PHPUnit (lowest, 5.4) (push) Waiting to run
This commit is contained in:
parent
eab09f30df
commit
e70d9d7a96
@ -54,7 +54,7 @@ class IoServer {
|
|||||||
* @param string $address The address to receive sockets on (0.0.0.0 means receive connections from any)
|
* @param string $address The address to receive sockets on (0.0.0.0 means receive connections from any)
|
||||||
* @return IoServer
|
* @return IoServer
|
||||||
*/
|
*/
|
||||||
public static function factory(MessageComponentInterface $component, integer|null $port = null, string|null $address = null) {
|
public static function factory(MessageComponentInterface $component, ?int $port = null, ?string $address = null) {
|
||||||
if ($port == null) $port = 80;
|
if ($port == null) $port = 80;
|
||||||
if ($address == null) $address = '0.0.0.0';
|
if ($address == null) $address = '0.0.0.0';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user