Completed
Branch master (d907e2)
by Lukáš
03:30
created
src/Endpoints/VideoEndpoint.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Deserialize API response into paginator object
23 23
      *
24
-     * @param $response
24
+     * @param string $response
25 25
      * @param VideoFilter $filter
26 26
      *
27 27
      * @return Paginator
Please login to merge, or discard this patch.
src/Entities/Video.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Support\Collection;
6 6
 use JMS\Serializer\Annotation as JMS;
7
-use JMS\Serializer\DeserializationContext;
8
-use JMS\Serializer\JsonDeserializationVisitor;
9 7
 
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
src/Redtube.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,12 +68,12 @@
 block discarded – undo
68 68
             ->setDebug(false)
69 69
             ->addDefaultHandlers()
70 70
             ->addDefaultListeners()
71
-            ->configureHandlers(function (HandlerRegistry $registry) {
71
+            ->configureHandlers(function(HandlerRegistry $registry) {
72 72
                 $registry->registerHandler(
73 73
                     GraphNavigator::DIRECTION_DESERIALIZATION,
74 74
                     Collection::class,
75 75
                     'xml',
76
-                    function (VisitorInterface $visitor, $data, array $type, Context $context) {
76
+                    function(VisitorInterface $visitor, $data, array $type, Context $context) {
77 77
                         $data = $visitor->visitArray($data, $type, $context);
78 78
 
79 79
                         return new Collection($data);
Please login to merge, or discard this patch.