@@ 112-115 (lines=4) @@ | ||
109 | self::OPT_VIDEO_MANAGER_ID => $videoManagerId, |
|
110 | ]; |
|
111 | ||
112 | if ($parameters) { |
|
113 | $query = http_build_query($parameters->getContainer(), null, '&', PHP_QUERY_RFC3986); |
|
114 | $options['query'] = preg_replace('/%5B[0-9]+%5D/simU', '%5B%5D', $query); |
|
115 | } |
|
116 | ||
117 | $response = $this->makeRequest('GET', 'videos', $options); |
|
118 | $response = json_encode(json_decode($response->getBody()->getContents(), true)['videos']); |
|
@@ 132-135 (lines=4) @@ | ||
129 | self::OPT_VIDEO_MANAGER_ID => $videoManagerId, |
|
130 | ]; |
|
131 | ||
132 | if ($parameters) { |
|
133 | $query = http_build_query($parameters->getContainer(), null, '&', PHP_QUERY_RFC3986); |
|
134 | $options['query'] = preg_replace('/%5B[0-9]+%5D/simU', '%5B%5D', $query); |
|
135 | } |
|
136 | ||
137 | $response = $this->makeRequest('GET', 'videos', $options); |
|
138 |