$this->run = $run;
}
- function timer($timeout_ms) {
+ function timer(int $timeout_ms) {
echo "T";
$this->timeout = $timeout_ms;
}
- function socket($socket, $action) {
+ function socket($socket, int $action) {
echo "S";
switch ($action) {
return count($this->client);
}
- function wait($timeout_ms = null) {
+ function wait(int $timeout_ms = null) {
echo "W";
if ($timeout_ms === null) {