@@ -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 @@ |
||
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 | */ |
@@ -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 |
@@ -165,6 +165,9 @@ |
||
165 | 165 | )) ?: false; |
166 | 166 | } |
167 | 167 | |
168 | + /** |
|
169 | + * @param string $filter |
|
170 | + */ |
|
168 | 171 | protected function handleCompression($filter, $offsetStart = 0) |
169 | 172 | { |
170 | 173 | // @codeCoverageIgnoreStart |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | * @param string $header Name of the header |
19 | - * @param array|string $values Values of the header as an array or a scalar |
|
19 | + * @param string|null $values Values of the header as an array or a scalar |
|
20 | 20 | * @param string $glue Glue used to combine multiple values into a string |
21 | 21 | */ |
22 | 22 | public function __construct($header, $values = array(), $glue = ',') |
@@ -62,7 +62,6 @@ |
||
62 | 62 | /** |
63 | 63 | * Set the URL of the request |
64 | 64 | * |
65 | - * @param string $url|Url Full URL to set including query string |
|
66 | 65 | * |
67 | 66 | * @return self |
68 | 67 | */ |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | /** |
191 | 191 | * Set the response entity body |
192 | 192 | * |
193 | - * @param EntityBodyInterface|string $body Body to set |
|
193 | + * @param string $body Body to set |
|
194 | 194 | * |
195 | 195 | * @return self |
196 | 196 | */ |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | /** |
297 | 297 | * Get the response status code |
298 | 298 | * |
299 | - * @return integer |
|
299 | + * @return string |
|
300 | 300 | */ |
301 | 301 | public function getStatusCode() |
302 | 302 | { |
@@ -377,7 +377,7 @@ discard block |
||
377 | 377 | /** |
378 | 378 | * Get the Age HTTP header |
379 | 379 | * |
380 | - * @return integer|null Returns the age the object has been in a proxy cache in seconds. |
|
380 | + * @return string Returns the age the object has been in a proxy cache in seconds. |
|
381 | 381 | */ |
382 | 382 | public function getAge() |
383 | 383 | { |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | /** |
584 | 584 | * Get the Pragma HTTP header |
585 | 585 | * |
586 | - * @return Header|null Returns the implementation-specific headers that may have various effects anywhere along |
|
586 | + * @return string Returns the implementation-specific headers that may have various effects anywhere along |
|
587 | 587 | * the request-response chain. |
588 | 588 | */ |
589 | 589 | public function getPragma() |
@@ -604,7 +604,7 @@ discard block |
||
604 | 604 | /** |
605 | 605 | * Get the Retry-After HTTP header |
606 | 606 | * |
607 | - * @return int|null If an entity is temporarily unavailable, this instructs the client to try again after a |
|
607 | + * @return string If an entity is temporarily unavailable, this instructs the client to try again after a |
|
608 | 608 | * specified period of time. |
609 | 609 | */ |
610 | 610 | public function getRetryAfter() |