@@ -341,6 +341,10 @@ |
||
341 | 341 | return $file; |
342 | 342 | } |
343 | 343 | |
344 | + /** |
|
345 | + * @param string $class |
|
346 | + * @param string $ext |
|
347 | + */ |
|
344 | 348 | private function findFileWithExtension($class, $ext) |
345 | 349 | { |
346 | 350 | // PSR-4 lookup |
@@ -215,6 +215,10 @@ |
||
215 | 215 | } |
216 | 216 | } |
217 | 217 | |
218 | + /** |
|
219 | + * @param string $dir |
|
220 | + * @param string $baseinstalldir |
|
221 | + */ |
|
218 | 222 | public function buildSubPackage($dir, $baseinstalldir, $info) |
219 | 223 | { |
220 | 224 | $package = str_replace('/', '_', $baseinstalldir); |
@@ -94,6 +94,9 @@ |
||
94 | 94 | $this->base = $str; |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @return string |
|
99 | + */ |
|
97 | 100 | public function getBase() |
98 | 101 | { |
99 | 102 | return $this->base; |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Trace the decorators associated with the batch |
54 | 54 | * |
55 | - * @return array |
|
55 | + * @return AbstractBatchDecorator[] |
|
56 | 56 | */ |
57 | 57 | public function getDecorators() |
58 | 58 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * Automatically flush the batch when the size of the queue reaches a certain threshold. Adds {@see FlushingBatch}. |
49 | 49 | * |
50 | - * @param $threshold Number of items to allow in the queue before a flush |
|
50 | + * @param integer $threshold Number of items to allow in the queue before a flush |
|
51 | 51 | * |
52 | 52 | * @return BatchBuilder |
53 | 53 | */ |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * Notify a callable each time a batch flush completes. Enables the {@see NotifyingBatch} decorator. |
88 | 88 | * |
89 | - * @param mixed $callable Callable function to notify |
|
89 | + * @param \Closure $callable Callable function to notify |
|
90 | 90 | * |
91 | 91 | * @return BatchBuilder |
92 | 92 | * @throws InvalidArgumentException if the argument is not callable |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @param array $config Configuration values to apply. |
28 | 28 | * @param array $defaults Default parameters |
29 | - * @param array $required Required parameter names |
|
29 | + * @param string[] $required Required parameter names |
|
30 | 30 | * |
31 | 31 | * @return self |
32 | 32 | * @throws InvalidArgumentException if a parameter is missing |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Set all of the exceptions |
24 | 24 | * |
25 | - * @param array $exceptions Array of exceptions |
|
25 | + * @param \Exception[] $exceptions Array of exceptions |
|
26 | 26 | * |
27 | 27 | * @return self |
28 | 28 | */ |
@@ -105,7 +105,7 @@ |
||
105 | 105 | * Set a default request option on the client that will be used as a default for each request |
106 | 106 | * |
107 | 107 | * @param string $keyOrPath request.options key (e.g. allow_redirects) or path to a nested key (e.g. headers/foo) |
108 | - * @param mixed $value Value to set |
|
108 | + * @param string|false $value Value to set |
|
109 | 109 | * |
110 | 110 | * @return $this |
111 | 111 | */ |
@@ -150,6 +150,9 @@ discard block |
||
150 | 150 | return $body->getContentMd5($rawOutput, $base64Encode); |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param string $streamFilterContentEncoding |
|
155 | + */ |
|
153 | 156 | public function setStreamFilterContentEncoding($streamFilterContentEncoding) |
154 | 157 | { |
155 | 158 | $this->contentEncoding = $streamFilterContentEncoding; |
@@ -165,6 +168,9 @@ discard block |
||
165 | 168 | )) ?: false; |
166 | 169 | } |
167 | 170 | |
171 | + /** |
|
172 | + * @param string $filter |
|
173 | + */ |
|
168 | 174 | protected function handleCompression($filter, $offsetStart = 0) |
169 | 175 | { |
170 | 176 | // @codeCoverageIgnoreStart |