@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public function __invoke(callable $handler): Closure |
37 | 37 | { |
38 | - return function ( |
|
38 | + return function( |
|
39 | 39 | RequestInterface $request, |
40 | 40 | array $options |
41 | 41 | ) use ($handler) { |
@@ -54,12 +54,12 @@ |
||
54 | 54 | */ |
55 | 55 | protected function sortChannels(ArrayCollection $channels) |
56 | 56 | { |
57 | - $channels->map(function ($channel) { |
|
57 | + $channels->map(function($channel) { |
|
58 | 58 | $channel->setChildren($this->sortChannels($channel->getChildren())); |
59 | 59 | }); |
60 | 60 | |
61 | 61 | $iterator = $channels->getIterator(); |
62 | - $iterator->uasort(function ($a, $b) { |
|
62 | + $iterator->uasort(function($a, $b) { |
|
63 | 63 | /* @var Channel $a */ |
64 | 64 | /* @var Channel $b */ |
65 | 65 | return $a->getName() > $b->getName(); |
@@ -302,7 +302,7 @@ |
||
302 | 302 | } |
303 | 303 | |
304 | 304 | //sorting preview's images from smallest to biggest |
305 | - usort($this->stills, function (array $item1, array $item2) { |
|
305 | + usort($this->stills, function(array $item1, array $item2) { |
|
306 | 306 | if (isset($item1['dimension']['height'], $item2['dimension']['height']) && $item1['dimension']['height'] != $item2['dimension']['height']) { |
307 | 307 | return ($item1['dimension']['height'] > $item2['dimension']['height']) ? 1 : -1; |
308 | 308 | } |