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