Test Failed
Push — master ( a4ccfc...b2466b )
by P.R.
02:10
created
src/Endpoint/ImportEndpoint.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
   {
30 30
     /** @var Import $resource */
31 31
     $resource = parent::restPost(['imports'],
32
-                                 ['api_key' => $this->client->getApiKey()],
33
-                                 ['title'                   => $title,
32
+                                  ['api_key' => $this->client->getApiKey()],
33
+                                  ['title'                   => $title,
34 34
                                   'company_id'              => $this->client->getCompanyId(),
35 35
                                   'expected_invoices_count' => $expectedInvoiceCount]);
36 36
     if (!is_a($resource, Import::class))
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
   public function fetchPageInfo(): array
108 108
   {
109 109
     return parent::restGetPageInfo(['companies', $this->client->getCompanyId(), 'imports'],
110
-                                   ['api_key' => $this->client->getApiKey()]);
110
+                                    ['api_key' => $this->client->getApiKey()]);
111 111
   }
112 112
 
113 113
   //--------------------------------------------------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/Endpoint/TicketEndpoint.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     $this->invoiceId = $invoiceId;
34 34
 
35 35
     parent::restPost(['invoices', $invoiceId, 'tickets', 'actions', 'archive'],
36
-                     ['api_key' => $this->client->getApiKey()]);
36
+                      ['api_key' => $this->client->getApiKey()]);
37 37
   }
38 38
 
39 39
   //--------------------------------------------------------------------------------------------------------------------
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     $this->invoiceId = $invoiceId;
50 50
 
51 51
     parent::restPost(['invoices', $invoiceId, 'tickets', 'actions', 'assign_to_support'],
52
-                     ['api_key' => $this->client->getApiKey()]);
52
+                      ['api_key' => $this->client->getApiKey()]);
53 53
   }
54 54
 
55 55
   //--------------------------------------------------------------------------------------------------------------------
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
 
70 70
     /** @var Ticket $resource */
71 71
     $resource = parent::restPost(['invoices', $invoiceId, 'tickets'],
72
-                                 ['api_key' => $this->client->getApiKey()],
73
-                                 ['message' => $message]);
72
+                                  ['api_key' => $this->client->getApiKey()],
73
+                                  ['message' => $message]);
74 74
     if (!is_a($resource, Ticket::class))
75 75
     {
76 76
       throw new ClubCollectApiException('Expected an Ticket object, got a %s', get_class($resource));
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
     $this->invoiceId = $invoiceId;
95 95
 
96 96
     return parent::restGetList('tickets',
97
-                               ['invoices', $invoiceId, 'tickets'],
98
-                               ['api_key' => $this->client->getApiKey()]);
97
+                                ['invoices', $invoiceId, 'tickets'],
98
+                                ['api_key' => $this->client->getApiKey()]);
99 99
   }
100 100
 
101 101
   //--------------------------------------------------------------------------------------------------------------------
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
   public function fetchPageInfo(string $status): array
146 146
   {
147 147
     return parent::restGetPageInfo(['companies', $this->client->getCompanyId(), 'tickets', $status],
148
-                                   ['api_key' => $this->client->getApiKey()]);
148
+                                    ['api_key' => $this->client->getApiKey()]);
149 149
   }
150 150
 
151 151
   //--------------------------------------------------------------------------------------------------------------------
Please login to merge, or discard this patch.