Completed
Push — master ( 831cd8...4849d0 )
by
unknown
45:37 queued 20:41
created
lib/ApiClient/Guzzle5ApiClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/Middleware/TokenMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
lib/ApiClient/AbstractApiClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,12 +45,12 @@
 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
 
Please login to merge, or discard this patch.
lib/Entity/Video.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -398,7 +398,7 @@
 block discarded – undo
398 398
     public function getStills()
399 399
     {
400 400
         //sorting preview's images from smallest to biggest
401
-        usort($this->stills, function (array $item1, array $item2) {
401
+        usort($this->stills, function(array $item1, array $item2) {
402 402
             if (isset($item1['dimension']['height'], $item2['dimension']['height']) && $item1['dimension']['height'] != $item2['dimension']['height']) {
403 403
                 return ($item1['dimension']['height'] > $item2['dimension']['height']) ? 1 : -1;
404 404
             }
Please login to merge, or discard this patch.
lib/ApiClient/AbstractCoreApiClient.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * @param string $data
169 169
      * @param string $serialisationClass
170 170
      *
171
-     * @return object
171
+     * @return \MovingImage\Meta\Interfaces\ChannelInterface[]
172 172
      */
173 173
     protected function deserialize($data, $serialisationClass)
174 174
     {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
      * @param string $method
236 236
      * @param string $uri
237 237
      * @param array  $options
238
-     * @param mixed  $response
238
+     * @param ResponseInterface  $response
239 239
      *
240 240
      * @return bool
241 241
      */
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      * Serializes the provided response to a string, suitable for caching.
268 268
      * The type of the $response argument varies depending on the guzzle version.
269 269
      *
270
-     * @param mixed $response
270
+     * @param ResponseInterface $response
271 271
      *
272 272
      * @return string
273 273
      */
Please login to merge, or discard this patch.
lib/Factory/AbstractApiClientFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
         $serializerBuilder = SerializerBuilder::create();
63 63
 
64
-        $serializerBuilder->configureHandlers(static function (HandlerRegistry $registry) {
64
+        $serializerBuilder->configureHandlers(static function(HandlerRegistry $registry) {
65 65
             $registry->registerSubscribingHandler(new DeserializeAttachmentSubscriber());
66 66
         });
67 67
 
Please login to merge, or discard this patch.