PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php +3 -3 1.2.13 → 1.4.2 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS\GuzzleHttp\Handler;
3 +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp\Handler;
4 4
5 -use Dudlewebs\WPMCS\GuzzleHttp\Utils;
5 +use Dudlewebs\WPMCS\GCP\GuzzleHttp\Utils;
6 6 /**
7 7 * @internal
8 8 */
9 9 final class HeaderProcessor
@@ -16,9 +16,9 @@
16 16 * @return array{0:string, 1:int, 2:?string, 3:array}
17 17 *
18 18 * @throws \RuntimeException
19 19 */
20 - public static function parseHeaders(array $headers): array
20 + public static function parseHeaders(array $headers) : array
21 21 {
22 22 if ($headers === []) {
23 23 throw new \RuntimeException('Expected a non-empty array of header data');
24 24 }