Completed
Pull Request — master (#24)
by
unknown
02:39
created
lib/ApiClient/AbstractApiClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,12 +45,12 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function sortChannels(ArrayCollection $channels)
47 47
     {
48
-        $channels->map(function ($channel) {
48
+        $channels->map(function($channel) {
49 49
             $channel->setChildren($this->sortChannels($channel->getChildren()));
50 50
         });
51 51
 
52 52
         $iterator = $channels->getIterator();
53
-        $iterator->uasort(function ($a, $b) {
53
+        $iterator->uasort(function($a, $b) {
54 54
             return $a->getName() > $b->getName();
55 55
         });
56 56
 
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
         );
188 188
 
189 189
         if ($this->cacheTtl) {
190
-            $url.= sprintf('%s&token_lifetime_in_seconds=%s', $url, $this->cacheTtl);
190
+            $url .= sprintf('%s&token_lifetime_in_seconds=%s', $url, $this->cacheTtl);
191 191
         }
192 192
 
193 193
         $response = $this->makeRequest('GET', $url, [self::OPT_VIDEO_MANAGER_ID => $videoManagerId]);
Please login to merge, or discard this patch.