@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * Get a value from OC config by |
| 50 | 50 | * path key1.key2.key3 |
| 51 | 51 | * @param string $path |
| 52 | - * @return mixed |
|
| 52 | + * @return string |
|
| 53 | 53 | */ |
| 54 | 54 | public function getByPath($path){ |
| 55 | 55 | return $this->get(explode('.', $path)); |
@@ -30,6 +30,9 @@ |
||
| 30 | 30 | protected $file; |
| 31 | 31 | protected $path; |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $path |
|
| 35 | + */ |
|
| 33 | 36 | public function __construct($file, $path){ |
| 34 | 37 | $this->file = $file; |
| 35 | 38 | $this->path = $path; |
@@ -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 |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | /** |
| 103 | 103 | * Get the associated response |
| 104 | 104 | * |
| 105 | - * @return ResponseInterface|null |
|
| 105 | + * @return ResponseInterface |
|
| 106 | 106 | */ |
| 107 | 107 | public function getResponse() |
| 108 | 108 | { |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | * @param MessageInterface $message That contains the header |
| 166 | 166 | * @param string $header Header to retrieve from the message |
| 167 | 167 | * |
| 168 | - * @return array Returns the normalized header field values. |
|
| 168 | + * @return string[] Returns the normalized header field values. |
|
| 169 | 169 | */ |
| 170 | 170 | public static function normalizeHeader(MessageInterface $message, $header) |
| 171 | 171 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * host header, and URI are parsed from the full URL. If query string |
| 29 | 29 | * parameters are present they will be parsed as well. |
| 30 | 30 | * @param array|Collection $headers HTTP headers |
| 31 | - * @param mixed $body Body to send with the request |
|
| 31 | + * @param null|\GuzzleHttp\Stream\Stream $body Body to send with the request |
|
| 32 | 32 | * @param array $options Array of options to use with the request |
| 33 | 33 | * - emitter: Event emitter to use with the request |
| 34 | 34 | */ |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | private $effectiveUrl; |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @param int|string $statusCode The response status code (e.g. 200) |
|
| 86 | + * @param string $statusCode The response status code (e.g. 200) |
|
| 87 | 87 | * @param array $headers The response headers |
| 88 | 88 | * @param StreamInterface $body The body of the response |
| 89 | 89 | * @param array $options Response message options |
@@ -242,7 +242,7 @@ |
||
| 242 | 242 | /** |
| 243 | 243 | * Get the aggregator used to join multi-valued field parameters |
| 244 | 244 | * |
| 245 | - * @return callable |
|
| 245 | + * @return \Closure |
|
| 246 | 246 | */ |
| 247 | 247 | final protected function getAggregator() |
| 248 | 248 | { |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | * |
| 139 | 139 | * Example: http://test.com?q=1&q=2 |
| 140 | 140 | * |
| 141 | - * @return callable |
|
| 141 | + * @return \Closure |
|
| 142 | 142 | */ |
| 143 | 143 | public static function duplicateAggregator() |
| 144 | 144 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * @param bool $numericIndices Pass false to not include numeric indices |
| 157 | 157 | * when multi-values query string parameters are present. |
| 158 | 158 | * |
| 159 | - * @return callable |
|
| 159 | + * @return \Closure |
|
| 160 | 160 | */ |
| 161 | 161 | public static function phpAggregator($numericIndices = true) |
| 162 | 162 | { |