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