Test Failed
Push — master ( f0132d...64edb8 )
by
unknown
23:09 queued 17:03
created
src/Endpoints/Balance.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function ledger(): self
27 27
     {
28
-        $this->get($this->url(self::ENDPOINT).'/ledger');
28
+        $this->get($this->url(self::ENDPOINT) . '/ledger');
29 29
 
30 30
         return $this;
31 31
     }
Please login to merge, or discard this patch.
src/Endpoints/Page.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @link https://paystack.com/docs/api/#page-list
25 25
      */
26
-    public function list(array $query = []): self
26
+    public function list(array $query = [ ]): self
27 27
     {
28 28
         $this->get($this->url(self::ENDPOINT), $query);
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function fetch(string $page_id): self
39 39
     {
40
-        $this->get($this->url(self::ENDPOINT).'/'.$page_id);
40
+        $this->get($this->url(self::ENDPOINT) . '/' . $page_id);
41 41
 
42 42
         return $this;
43 43
     }
@@ -47,9 +47,9 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @link https://paystack.com/docs/api/#page-update
49 49
      */
50
-    public function update(string $page_id, array $payload = []): self
50
+    public function update(string $page_id, array $payload = [ ]): self
51 51
     {
52
-        $this->put($this->url(self::ENDPOINT).'/'.$page_id, $payload);
52
+        $this->put($this->url(self::ENDPOINT) . '/' . $page_id, $payload);
53 53
 
54 54
         return $this;
55 55
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function checkAvailability(string $slug): self
63 63
     {
64
-        $this->get($this->url(self::ENDPOINT).'/check_slug_availability/'.$slug);
64
+        $this->get($this->url(self::ENDPOINT) . '/check_slug_availability/' . $slug);
65 65
 
66 66
         return $this;
67 67
     }
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @link https://paystack.com/docs/api/#page-add-products
73 73
      */
74
-    public function addProduct(int $page_id, array $payload = []): self
74
+    public function addProduct(int $page_id, array $payload = [ ]): self
75 75
     {
76
-        $this->post($this->url(self::ENDPOINT).'/'.$page_id.'/product', $payload);
76
+        $this->post($this->url(self::ENDPOINT) . '/' . $page_id . '/product', $payload);
77 77
 
78 78
         return $this;
79 79
     }
Please login to merge, or discard this patch.
src/Endpoints/Subscription.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @link https://paystack.com/docs/api/#suzbscription-list
25 25
      */
26
-    public function list(array $query = []): self
26
+    public function list(array $query = [ ]): self
27 27
     {
28 28
         $this->get($this->url(self::ENDPOINT), $query);
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function fetch(string $subscription_id): self
39 39
     {
40
-        $this->get($this->url(self::ENDPOINT).'/'.$subscription_id);
40
+        $this->get($this->url(self::ENDPOINT) . '/' . $subscription_id);
41 41
 
42 42
         return $this;
43 43
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function enable(array $payload): self
51 51
     {
52
-        $this->post($this->url(self::ENDPOINT).'/enable', $payload);
52
+        $this->post($this->url(self::ENDPOINT) . '/enable', $payload);
53 53
 
54 54
         return $this;
55 55
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function disable(array $payload): self
63 63
     {
64
-        $this->post($this->url(self::ENDPOINT).'/disable', $payload);
64
+        $this->post($this->url(self::ENDPOINT) . '/disable', $payload);
65 65
 
66 66
         return $this;
67 67
     }
Please login to merge, or discard this patch.
src/Endpoints/Invoice.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @link https://paystack.com/docs/api/#invoice-list
25 25
      */
26
-    public function list(array $query = []): self
26
+    public function list(array $query = [ ]): self
27 27
     {
28 28
         $this->get($this->url(self::ENDPOINT), $query);
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function fetch(string $invoice_id): self
39 39
     {
40
-        $this->get($this->url(self::ENDPOINT).'/'.$invoice_id);
40
+        $this->get($this->url(self::ENDPOINT) . '/' . $invoice_id);
41 41
 
42 42
         return $this;
43 43
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function verify(string $invoice_code): self
51 51
     {
52
-        $this->get($this->url(self::ENDPOINT).'/verify/'.$invoice_code);
52
+        $this->get($this->url(self::ENDPOINT) . '/verify/' . $invoice_code);
53 53
 
54 54
         return $this;
55 55
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function notify(string $invoice_code): self
63 63
     {
64
-        $this->post($this->url(self::ENDPOINT).'/notify/'.$invoice_code);
64
+        $this->post($this->url(self::ENDPOINT) . '/notify/' . $invoice_code);
65 65
 
66 66
         return $this;
67 67
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function totals(): self
75 75
     {
76
-        $this->post($this->url(self::ENDPOINT).'/totals');
76
+        $this->post($this->url(self::ENDPOINT) . '/totals');
77 77
 
78 78
         return $this;
79 79
     }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     public function finalize(string $invoice_code): self
87 87
     {
88
-        $this->post($this->url(self::ENDPOINT).'/finalize/'.$invoice_code);
88
+        $this->post($this->url(self::ENDPOINT) . '/finalize/' . $invoice_code);
89 89
 
90 90
         return $this;
91 91
     }
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
      *
96 96
      * @link https://paystack.com/docs/api/#invoice-update
97 97
      */
98
-    public function update(string $invoice_id, array $payload = []): self
98
+    public function update(string $invoice_id, array $payload = [ ]): self
99 99
     {
100
-        $this->put($this->url(self::ENDPOINT).'/'.$invoice_id, $payload);
100
+        $this->put($this->url(self::ENDPOINT) . '/' . $invoice_id, $payload);
101 101
 
102 102
         return $this;
103 103
     }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function archive(string $invoice_code): self
111 111
     {
112
-        $this->post($this->url(self::ENDPOINT).'/archive/'.$invoice_code);
112
+        $this->post($this->url(self::ENDPOINT) . '/archive/' . $invoice_code);
113 113
 
114 114
         return $this;
115 115
     }
Please login to merge, or discard this patch.
src/Endpoints/Product.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @link https://paystack.com/docs/api/#product-list
25 25
      */
26
-    public function list(array $query = []): self
26
+    public function list(array $query = [ ]): self
27 27
     {
28 28
         $this->get($this->url(self::ENDPOINT), $query);
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function fetch(string $product_id): self
39 39
     {
40
-        $this->get($this->url(self::ENDPOINT).'/'.$product_id);
40
+        $this->get($this->url(self::ENDPOINT) . '/' . $product_id);
41 41
 
42 42
         return $this;
43 43
     }
@@ -47,9 +47,9 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @link https://paystack.com/docs/api/#product-update
49 49
      */
50
-    public function update(string $product_id, array $payload = []): self
50
+    public function update(string $product_id, array $payload = [ ]): self
51 51
     {
52
-        $this->put($this->url(self::ENDPOINT).'/'.$product_id, $payload);
52
+        $this->put($this->url(self::ENDPOINT) . '/' . $product_id, $payload);
53 53
 
54 54
         return $this;
55 55
     }
Please login to merge, or discard this patch.
src/Endpoints/TransferRecipient.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function createBulk(array $payload): self
27 27
     {
28
-        $this->post($this->url(self::ENDPOINT).'/bulk', $payload);
28
+        $this->post($this->url(self::ENDPOINT) . '/bulk', $payload);
29 29
 
30 30
         return $this;
31 31
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @link https://paystack.com/docs/api/#transfer-recipient-list
37 37
      */
38
-    public function list(array $query = []): self
38
+    public function list(array $query = [ ]): self
39 39
     {
40 40
         $this->get($this->url(self::ENDPOINT), $query);
41 41
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function fetch(string $customer_email): self
51 51
     {
52
-        $this->get($this->url(self::ENDPOINT).'/'.$customer_email);
52
+        $this->get($this->url(self::ENDPOINT) . '/' . $customer_email);
53 53
 
54 54
         return $this;
55 55
     }
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @link https://paystack.com/docs/api/#transfer-recipient-update
61 61
      */
62
-    public function update(string $recipient_code, array $payload = []): self
62
+    public function update(string $recipient_code, array $payload = [ ]): self
63 63
     {
64
-        $this->put($this->url(self::ENDPOINT).'/'.$recipient_code, $payload);
64
+        $this->put($this->url(self::ENDPOINT) . '/' . $recipient_code, $payload);
65 65
 
66 66
         return $this;
67 67
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function deactivate(string $recipient_code): self
75 75
     {
76
-        $this->delete($this->url(self::ENDPOINT).'/'.$recipient_code);
76
+        $this->delete($this->url(self::ENDPOINT) . '/' . $recipient_code);
77 77
 
78 78
         return $this;
79 79
     }
Please login to merge, or discard this patch.
src/Endpoints/Resolve.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @link https://paystack.com/docs/api/#verification-resolve-account
11 11
      */
12
-    public function bank(array $query = []): self
12
+    public function bank(array $query = [ ]): self
13 13
     {
14 14
         $this->get($this->url('/bank/resolve'), $query);
15 15
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @link https://paystack.com/docs/api/#verification-match-bvn
23 23
      */
24
-    public function bvn(array $payload = []): self
24
+    public function bvn(array $payload = [ ]): self
25 25
     {
26 26
         $this->post('/bvn/match', $payload);
27 27
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function card(string $card_bin): self
37 37
     {
38
-        $this->get('/decision/bin/'.$card_bin);
38
+        $this->get('/decision/bin/' . $card_bin);
39 39
 
40 40
         return $this;
41 41
     }
Please login to merge, or discard this patch.
src/Endpoints/Plan.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @link https://paystack.com/docs/api/#plan-list
25 25
      */
26
-    public function list(array $query = []): self
26
+    public function list(array $query = [ ]): self
27 27
     {
28 28
         $this->get($this->url(self::ENDPOINT), $query);
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function fetch(string $plan_id): self
39 39
     {
40
-        $this->get($this->url(self::ENDPOINT).'/'.$plan_id);
40
+        $this->get($this->url(self::ENDPOINT) . '/' . $plan_id);
41 41
 
42 42
         return $this;
43 43
     }
@@ -47,9 +47,9 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @link https://paystack.com/docs/api/#plan-update
49 49
      */
50
-    public function update(string $plan_id, array $payload = []): self
50
+    public function update(string $plan_id, array $payload = [ ]): self
51 51
     {
52
-        $this->put($this->url(self::ENDPOINT).'/'.$plan_id, $payload);
52
+        $this->put($this->url(self::ENDPOINT) . '/' . $plan_id, $payload);
53 53
 
54 54
         return $this;
55 55
     }
Please login to merge, or discard this patch.
src/Endpoints/Refund.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @link https://paystack.com/docs/api/#refund-list
25 25
      */
26
-    public function list(array $query = []): self
26
+    public function list(array $query = [ ]): self
27 27
     {
28 28
         $this->get($this->url(self::ENDPOINT), $query);
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function fetch(string $reference): self
39 39
     {
40
-        $this->get($this->url(self::ENDPOINT).'/'.$reference);
40
+        $this->get($this->url(self::ENDPOINT) . '/' . $reference);
41 41
 
42 42
         return $this;
43 43
     }
Please login to merge, or discard this patch.