Passed
Push — master ( 4bf6b9...8c6844 )
by Jared
33s
created
src/CultureKings/Afterpay/Handler/DateTimeHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * @param JsonDeserializationVisitor $visitor
33 33
      * @param string|array               $data
34 34
      * @param array                      $type
35
-     * @return null|static
35
+     * @return null|Carbon
36 36
      */
37 37
     public function deserializeDateTimeFromJson(JsonDeserializationVisitor $visitor, $data, array $type)
38 38
     {
Please login to merge, or discard this patch.
src/CultureKings/Afterpay/Factory/SerializerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public static function getSerializer()
19 19
     {
20 20
         return SerializerBuilder::create()
21
-            ->configureHandlers(function (HandlerRegistry $registry) {
21
+            ->configureHandlers(function(HandlerRegistry $registry) {
22 22
                 $registry->registerSubscribingHandler(new DateTimeHandler());
23 23
             })
24 24
             ->addMetadataDir(__DIR__.'/../Serializer')
Please login to merge, or discard this patch.
src/CultureKings/Afterpay/Model/PaymentsList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @var Payment[]
25 25
      */
26
-    protected $results = [];
26
+    protected $results = [ ];
27 27
 
28 28
     /**
29 29
      * @return int
Please login to merge, or discard this patch.
src/CultureKings/Afterpay/Model/Payment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@
 block discarded – undo
35 35
     /**
36 36
      * @var PaymentEvent[]
37 37
      */
38
-    protected $events = [];
38
+    protected $events = [ ];
39 39
     /**
40 40
      * @var Refund[]
41 41
      */
42
-    protected $refunds = [];
42
+    protected $refunds = [ ];
43 43
     /**
44 44
      * @var OrderDetails
45 45
      */
Please login to merge, or discard this patch.
src/CultureKings/Afterpay/Factory/Api.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         AnnotationRegistry::registerLoader('class_exists');
33 33
 
34 34
         if ($client === null) {
35
-            $client = new Client(['base_url' => $authorization->getEndpoint()]);
35
+            $client = new Client([ 'base_url' => $authorization->getEndpoint() ]);
36 36
         }
37 37
 
38 38
         if ($serializer === null) {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         AnnotationRegistry::registerLoader('class_exists');
58 58
 
59 59
         if ($client === null) {
60
-            $client = new Client(['base_url' => $authorization->getEndpoint()]);
60
+            $client = new Client([ 'base_url' => $authorization->getEndpoint() ]);
61 61
         }
62 62
 
63 63
         if ($serializer === null) {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         AnnotationRegistry::registerLoader('class_exists');
81 81
 
82 82
         if ($client === null) {
83
-            $client = new Client(['base_url' => $authorization->getEndpoint()]);
83
+            $client = new Client([ 'base_url' => $authorization->getEndpoint() ]);
84 84
         }
85 85
 
86 86
         if ($serializer === null) {
Please login to merge, or discard this patch.
src/CultureKings/Afterpay/Service/Payments.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      *
43 43
      * I would of liked to call this list() but it's a reserved keyword in < php7
44 44
      */
45
-    public function listPayments(array $filters = [])
45
+    public function listPayments(array $filters = [ ])
46 46
     {
47 47
         $result = $this->getClient()->get(
48 48
             'payments',
Please login to merge, or discard this patch.