X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient028.phpt;h=232f56285d560d6290e3321d13df34044020f715;hp=280c3059d36aa62948708caf4fb501d1e7862548;hb=faf7a7899fa8ffb24f8105a921f359d6b97ec34e;hpb=cc9215bc026c37420de775d3ef95c582caf8eca0 diff --git a/tests/client028.phpt b/tests/client028.phpt index 280c305..232f562 100644 --- a/tests/client028.phpt +++ b/tests/client028.phpt @@ -29,12 +29,12 @@ class UserHandler implements http\Client\Curl\User $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) { @@ -80,7 +80,7 @@ class UserHandler implements http\Client\Curl\User return count($this->client); } - function wait($timeout_ms = null) { + function wait(int $timeout_ms = null) { echo "W"; if ($timeout_ms === null) {