@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param string $server Invalid server |
37 | - * @param array $allowed Allowed URL parts |
|
37 | + * @param string[] $allowed Allowed URL parts |
|
38 | 38 | * |
39 | 39 | * @return self |
40 | 40 | */ |
@@ -20,7 +20,6 @@ |
||
20 | 20 | class ProxyResponseException extends \RuntimeException implements HttpCacheException |
21 | 21 | { |
22 | 22 | /** |
23 | - * @param ResponseInterface $response HTTP response |
|
24 | 23 | * |
25 | 24 | * @return ProxyResponseException |
26 | 25 | */ |
@@ -74,6 +74,10 @@ discard block |
||
74 | 74 | } |
75 | 75 | } |
76 | 76 | |
77 | + /** |
|
78 | + * @param integer $timeout |
|
79 | + * @param \Closure $callback |
|
80 | + */ |
|
77 | 81 | protected function wait($timeout, $callback) |
78 | 82 | { |
79 | 83 | for ($i = 0; $i < $timeout; ++$i) { |
@@ -91,7 +95,7 @@ discard block |
||
91 | 95 | * Run a shell command. |
92 | 96 | * |
93 | 97 | * @param string $command |
94 | - * @param array $arguments |
|
98 | + * @param string[] $arguments |
|
95 | 99 | * |
96 | 100 | * @throws \RuntimeException If command execution fails |
97 | 101 | */ |