@@ -20,7 +20,7 @@ |
||
20 | 20 | * @param string $uri |
21 | 21 | * @param array $options |
22 | 22 | * |
23 | - * @return \GuzzleHttp\Message\ResponseInterface |
|
23 | + * @return \Psr\Http\Message\ResponseInterface |
|
24 | 24 | */ |
25 | 25 | protected function _doRequest($method, $uri, $options) |
26 | 26 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace MovingImage\Client\VMPro\Entity; |
4 | 4 | |
5 | -use JMS\Serializer\Annotation\Type; |
|
6 | 5 | use JMS\Serializer\Annotation\SerializedName; |
6 | +use JMS\Serializer\Annotation\Type; |
|
7 | 7 | use MovingImage\Meta\Interfaces\VideoInterface; |
8 | 8 | |
9 | 9 | /** |
@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function __invoke(callable $handler) |
48 | 48 | { |
49 | - return function ( |
|
49 | + return function( |
|
50 | 50 | RequestInterface $request, |
51 | 51 | array $options |
52 | 52 | ) use ($handler) { |
@@ -45,12 +45,12 @@ |
||
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 |