Completed
Push — master ( 6a4b58...d898c6 )
by
unknown
02:34
created
src/Contracts/Entities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Contracts;
6 6
 
Please login to merge, or discard this patch.
src/Models/Entities/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @return int|null
21 21
      */
22
-    public function getId(): ?int
22
+    public function getId(): ? int
23 23
     {
24 24
         return $this->id;
25 25
     }
Please login to merge, or discard this patch.
src/Models/Pagination/Paginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Pagination;
6 6
 
Please login to merge, or discard this patch.
src/Models/Pagination/Meta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Pagination;
6 6
 
Please login to merge, or discard this patch.
src/Models/Entities/Tariff.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @return string
26 26
      */
27
-    public function getDescription(): ?string
27
+    public function getDescription(): ? string
28 28
     {
29 29
         return $this->description;
30 30
     }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * @param string $description
34 34
      */
35
-    public function setDescription(?string $description)
35
+    public function setDescription(? string $description)
36 36
     {
37 37
         $this->description = $description;
38 38
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * @return string
42 42
      */
43
-    public function getPeriod(): ?string
43
+    public function getPeriod(): ? string
44 44
     {
45 45
         return $this->period;
46 46
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * @param string $period
50 50
      */
51
-    public function setPeriod(?string $period)
51
+    public function setPeriod(? string $period)
52 52
     {
53 53
         $this->period = $period;
54 54
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * @return string
58 58
      */
59
-    public function getStartPeriod(): ?string
59
+    public function getStartPeriod(): ? string
60 60
     {
61 61
         return $this->startPeriod;
62 62
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * @param string $startPeriod
66 66
      */
67
-    public function setStartPeriod(?string $startPeriod)
67
+    public function setStartPeriod(? string $startPeriod)
68 68
     {
69 69
         $this->startPeriod = $startPeriod;
70 70
     }
Please login to merge, or discard this patch.
src/Models/Entities/Merchant.php 1 patch
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -43,92 +43,92 @@  discard block
 block discarded – undo
43 43
         $this->name = $name;
44 44
     }
45 45
 
46
-    public function getSiteLanguage(): ?string
46
+    public function getSiteLanguage(): ? string
47 47
     {
48 48
         return $this->siteLanguage;
49 49
     }
50 50
 
51
-    public function setSiteLanguage(?string $siteLanguage): void
51
+    public function setSiteLanguage(? string $siteLanguage) : void
52 52
     {
53 53
         $this->siteLanguage = $siteLanguage;
54 54
     }
55 55
 
56
-    public function getStatus(): ?string
56
+    public function getStatus(): ? string
57 57
     {
58 58
         return $this->status;
59 59
     }
60 60
 
61
-    public function setStatus(?string $status): void
61
+    public function setStatus(? string $status) : void
62 62
     {
63 63
         $this->status = $status;
64 64
     }
65 65
 
66
-    public function getType(): ?string
66
+    public function getType(): ? string
67 67
     {
68 68
         return $this->type;
69 69
     }
70 70
 
71
-    public function setType(?string $type): void
71
+    public function setType(? string $type) : void
72 72
     {
73 73
         $this->type = $type;
74 74
     }
75 75
 
76
-    public function getDescription(): ?string
76
+    public function getDescription(): ? string
77 77
     {
78 78
         return $this->description;
79 79
     }
80 80
 
81
-    public function setDescription(?string $description): void
81
+    public function setDescription(? string $description) : void
82 82
     {
83 83
         $this->description = $description;
84 84
     }
85 85
 
86
-    public function getAddress(): ?string
86
+    public function getAddress(): ? string
87 87
     {
88 88
         return $this->address;
89 89
     }
90 90
 
91
-    public function setAddress(?string $address): void
91
+    public function setAddress(? string $address) : void
92 92
     {
93 93
         $this->address = $address;
94 94
     }
95 95
 
96
-    public function getContactName(): ?string
96
+    public function getContactName(): ? string
97 97
     {
98 98
         return $this->contactName;
99 99
     }
100 100
 
101
-    public function setContactName(?string $contactName): void
101
+    public function setContactName(? string $contactName) : void
102 102
     {
103 103
         $this->contactName = $contactName;
104 104
     }
105 105
 
106
-    public function getEmail(): ?string
106
+    public function getEmail(): ? string
107 107
     {
108 108
         return $this->email;
109 109
     }
110 110
 
111
-    public function setEmail(?string $email): void
111
+    public function setEmail(? string $email) : void
112 112
     {
113 113
         $this->email = $email;
114 114
     }
115 115
 
116
-    public function getPhone(): ?string
116
+    public function getPhone(): ? string
117 117
     {
118 118
         return $this->phone;
119 119
     }
120 120
 
121
-    public function setPhone(?string $phone): void
121
+    public function setPhone(? string $phone) : void
122 122
     {
123 123
         $this->phone = $phone;
124 124
     }
125 125
 
126
-    public function getFax(): ?string
126
+    public function getFax(): ? string
127 127
     {
128 128
         return $this->fax;
129 129
     }
130 130
 
131
-    public function setFax(?string $fax): void
131
+    public function setFax(? string $fax) : void
132 132
     {
133 133
         $this->fax = $fax;
134 134
     }
@@ -143,22 +143,22 @@  discard block
 block discarded – undo
143 143
         $this->registrationDate = $registrationDate;
144 144
     }
145 145
 
146
-    public function getMerchantDomain(): ?string
146
+    public function getMerchantDomain(): ? string
147 147
     {
148 148
         return $this->merchantDomain;
149 149
     }
150 150
 
151
-    public function setMerchantDomain(?string $merchantDomain): void
151
+    public function setMerchantDomain(? string $merchantDomain) : void
152 152
     {
153 153
         $this->merchantDomain = $merchantDomain;
154 154
     }
155 155
 
156
-    public function getSubdomain(): ?string
156
+    public function getSubdomain(): ? string
157 157
     {
158 158
         return $this->subdomain;
159 159
     }
160 160
 
161
-    public function setSubdomain(?string $subdomain): void
161
+    public function setSubdomain(? string $subdomain) : void
162 162
     {
163 163
         $this->subdomain = $subdomain;
164 164
     }
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $this->agentId = $agentId;
174 174
     }
175 175
 
176
-    public function getAgent(): ?Agent
176
+    public function getAgent(): ? Agent
177 177
     {
178 178
         return $this->agent;
179 179
     }
@@ -193,37 +193,37 @@  discard block
 block discarded – undo
193 193
         $this->tariffId = $tariffId;
194 194
     }
195 195
 
196
-    public function getUserIpAccess(): ?string
196
+    public function getUserIpAccess(): ? string
197 197
     {
198 198
         return $this->userIpAccess;
199 199
     }
200 200
 
201
-    public function setUserIpAccess(?string $userIpAccess): void
201
+    public function setUserIpAccess(? string $userIpAccess) : void
202 202
     {
203 203
         $this->userIpAccess = $userIpAccess;
204 204
     }
205 205
 
206
-    public function getVtIpAccess(): ?string
206
+    public function getVtIpAccess(): ? string
207 207
     {
208 208
         return $this->vtIpAccess;
209 209
     }
210 210
 
211
-    public function setVtIpAccess(?string $vtIpAccess): void
211
+    public function setVtIpAccess(? string $vtIpAccess) : void
212 212
     {
213 213
         $this->vtIpAccess = $vtIpAccess;
214 214
     }
215 215
 
216
-    public function getSkype(): ?string
216
+    public function getSkype(): ? string
217 217
     {
218 218
         return $this->skype;
219 219
     }
220 220
 
221
-    public function setSkype(?string $skype): void
221
+    public function setSkype(? string $skype) : void
222 222
     {
223 223
         $this->skype = $skype;
224 224
     }
225 225
 
226
-    public function getTariff(): ?Tariff
226
+    public function getTariff(): ? Tariff
227 227
     {
228 228
         return $this->tariff;
229 229
     }
Please login to merge, or discard this patch.
src/Services/Entities.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Services;
6 6
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param array $parameters
51 51
      * @return Country|null
52 52
      */
53
-    public function getCountry(int $id, array $parameters = []): ?Country
53
+    public function getCountry(int $id, array $parameters = []): ? Country
54 54
     {
55 55
         $response = $this->makeRequest('GET', 'countries/'.$id, $parameters);
56 56
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @param array $parameters
78 78
      * @return Currency|null
79 79
      */
80
-    public function getCurrency(int $id, array $parameters = []): ?Currency
80
+    public function getCurrency(int $id, array $parameters = []): ? Currency
81 81
     {
82 82
         $response = $this->makeRequest('GET', 'currencies/'.$id, $parameters);
83 83
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * @param array $parameters
118 118
      * @return Merchant|null
119 119
      */
120
-    public function getMerchant(int $id, array $parameters = []): ?Merchant
120
+    public function getMerchant(int $id, array $parameters = []): ? Merchant
121 121
     {
122 122
         $response = $this->makeRequest('GET', 'merchants/'.$id, $parameters);
123 123
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      *
149 149
      * @return Site|null
150 150
      */
151
-    public function getSite(Merchant $merchant, int $id, array $parameters = []): ?Site
151
+    public function getSite(Merchant $merchant, int $id, array $parameters = []): ? Site
152 152
     {
153 153
         $response = $this->makeRequest('GET', 'merchants/'.$merchant->getId().'/sites/'.$id, $parameters);
154 154
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * @param array $parameters
163 163
      * @return Site|null
164 164
      */
165
-    public function getSiteById(int $id, array $parameters = []): ?Site
165
+    public function getSiteById(int $id, array $parameters = []): ? Site
166 166
     {
167 167
         $response = $this->makeRequest('GET', 'sites/'.$id, $parameters);
168 168
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      *
200 200
      * @return Product|null
201 201
      */
202
-    public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ?Product
202
+    public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ? Product
203 203
     {
204 204
         $response = $this->makeRequest(
205 205
             'GET',
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      * @param array $parameters
218 218
      * @return Product|null
219 219
      */
220
-    public function getProductById(int $id, array $parameters = []): ?Product
220
+    public function getProductById(int $id, array $parameters = []): ? Product
221 221
     {
222 222
         $response = $this->makeRequest(
223 223
             'GET',
Please login to merge, or discard this patch.
src/Models/Entities/Payment.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * @return string
101 101
      */
102
-    public function getCf(): ?string
102
+    public function getCf(): ? string
103 103
     {
104 104
         return $this->cf;
105 105
     }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     /**
108 108
      * @param string $cf
109 109
      */
110
-    public function setCf(?string $cf)
110
+    public function setCf(? string $cf)
111 111
     {
112 112
         $this->cf = $cf;
113 113
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * @return string
117 117
      */
118
-    public function getOkUrl(): ?string
118
+    public function getOkUrl(): ? string
119 119
     {
120 120
         return $this->okUrl;
121 121
     }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     /**
124 124
      * @param string $okUrl
125 125
      */
126
-    public function setOkUrl(?string $okUrl)
126
+    public function setOkUrl(? string $okUrl)
127 127
     {
128 128
         $this->okUrl = $okUrl;
129 129
     }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * @return string
133 133
      */
134
-    public function getKoUrl(): ?string
134
+    public function getKoUrl(): ? string
135 135
     {
136 136
         return $this->koUrl;
137 137
     }
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * @param string $koUrl
141 141
      */
142
-    public function setKoUrl(?string $koUrl)
142
+    public function setKoUrl(? string $koUrl)
143 143
     {
144 144
         $this->koUrl = $koUrl;
145 145
     }
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     /**
148 148
      * @return string
149 149
      */
150
-    public function getCbUrl(): ?string
150
+    public function getCbUrl(): ? string
151 151
     {
152 152
         return $this->cbUrl;
153 153
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     /**
156 156
      * @param string $cbUrl
157 157
      */
158
-    public function setCbUrl(?string $cbUrl)
158
+    public function setCbUrl(? string $cbUrl)
159 159
     {
160 160
         $this->cbUrl = $cbUrl;
161 161
     }
Please login to merge, or discard this patch.
src/Models/Entities/Product.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Models\Entities;
6 6
 
@@ -37,32 +37,32 @@  discard block
 block discarded – undo
37 37
     private $payments;
38 38
 
39 39
 
40
-    public function getType(): ?string
40
+    public function getType(): ? string
41 41
     {
42 42
         return $this->type;
43 43
     }
44 44
 
45
-    public function setType(?string $type): void
45
+    public function setType(? string $type) : void
46 46
     {
47 47
         $this->type = $type;
48 48
     }
49 49
 
50
-    public function getPrice(): ?float
50
+    public function getPrice(): ? float
51 51
     {
52 52
         return $this->price;
53 53
     }
54 54
 
55
-    public function setPrice(?float $price): void
55
+    public function setPrice(? float $price) : void
56 56
     {
57 57
         $this->price = $price;
58 58
     }
59 59
 
60
-    public function getDescription(): ?string
60
+    public function getDescription(): ? string
61 61
     {
62 62
         return $this->description;
63 63
     }
64 64
 
65
-    public function setDescription(?string $description): void
65
+    public function setDescription(? string $description) : void
66 66
     {
67 67
         $this->description = $description;
68 68
     }
@@ -77,42 +77,42 @@  discard block
 block discarded – undo
77 77
         $this->allowRandomPrice = $allowRandomPrice;
78 78
     }
79 79
 
80
-    public function getFields(): ?string
80
+    public function getFields(): ? string
81 81
     {
82 82
         return $this->fields;
83 83
     }
84 84
 
85
-    public function setFields(?string $fields): void
85
+    public function setFields(? string $fields) : void
86 86
     {
87 87
         $this->fields = $fields;
88 88
     }
89 89
 
90
-    public function getCurrencyId(): ?int
90
+    public function getCurrencyId(): ? int
91 91
     {
92 92
         return $this->currencyId;
93 93
     }
94 94
 
95
-    public function setCurrencyId(?int $currencyId): void
95
+    public function setCurrencyId(? int $currencyId) : void
96 96
     {
97 97
         $this->currencyId = $currencyId;
98 98
     }
99 99
 
100
-    public function getSiteId(): ?int
100
+    public function getSiteId(): ? int
101 101
     {
102 102
         return $this->siteId;
103 103
     }
104 104
 
105
-    public function setSiteId(?int $siteId): void
105
+    public function setSiteId(? int $siteId) : void
106 106
     {
107 107
         $this->siteId = $siteId;
108 108
     }
109 109
 
110
-    public function getSite(): ?Site
110
+    public function getSite(): ? Site
111 111
     {
112 112
         return $this->site;
113 113
     }
114 114
 
115
-    public function setSite(?Site $site): void
115
+    public function setSite(? Site $site) : void
116 116
     {
117 117
         $this->site = $site;
118 118
     }
@@ -133,32 +133,32 @@  discard block
 block discarded – undo
133 133
         $this->payments = $payments;
134 134
     }
135 135
 
136
-    public function getStatus(): ?string
136
+    public function getStatus(): ? string
137 137
     {
138 138
         return $this->status;
139 139
     }
140 140
 
141
-    public function setStatus(?string $status)
141
+    public function setStatus(? string $status)
142 142
     {
143 143
         $this->status = $status;
144 144
     }
145 145
 
146
-    public function getNotifyUrl(): ?string
146
+    public function getNotifyUrl(): ? string
147 147
     {
148 148
         return $this->notifyUrl;
149 149
     }
150 150
 
151
-    public function setNotifyUrl(?string $notifyUrl)
151
+    public function setNotifyUrl(? string $notifyUrl)
152 152
     {
153 153
         $this->notifyUrl = $notifyUrl;
154 154
     }
155 155
 
156
-    public function getWorkThrough():?string
156
+    public function getWorkThrough(): ? string
157 157
     {
158 158
         return $this->workThrough;
159 159
     }
160 160
 
161
-    public function setWorkThrough(?string $workThrough)
161
+    public function setWorkThrough(? string $workThrough)
162 162
     {
163 163
         $this->workThrough = $workThrough;
164 164
     }
@@ -173,82 +173,82 @@  discard block
 block discarded – undo
173 173
         $this->confirmPaymentType = $confirmPaymentType;
174 174
     }
175 175
 
176
-    public function getNotifyEmail(): ?string
176
+    public function getNotifyEmail(): ? string
177 177
     {
178 178
         return $this->notifyEmail;
179 179
     }
180 180
 
181
-    public function setNotifyEmail(?string $notifyEmail)
181
+    public function setNotifyEmail(? string $notifyEmail)
182 182
     {
183 183
         $this->notifyEmail = $notifyEmail;
184 184
     }
185 185
 
186
-    public function getMessengerNotifyUrl(): ?string
186
+    public function getMessengerNotifyUrl(): ? string
187 187
     {
188 188
         return $this->messengerNotifyUrl;
189 189
     }
190 190
 
191
-    public function setMessengerNotifyUrl(?string $messengerNotifyUrl)
191
+    public function setMessengerNotifyUrl(? string $messengerNotifyUrl)
192 192
     {
193 193
         $this->messengerNotifyUrl = $messengerNotifyUrl;
194 194
     }
195 195
 
196
-    public function getSupportEmail(): ?string
196
+    public function getSupportEmail(): ? string
197 197
     {
198 198
         return $this->supportEmail;
199 199
     }
200 200
 
201
-    public function setSupportEmail(?string $supportEmail)
201
+    public function setSupportEmail(? string $supportEmail)
202 202
     {
203 203
         $this->supportEmail = $supportEmail;
204 204
     }
205 205
 
206
-    public function getSupportPhone(): ?string
206
+    public function getSupportPhone(): ? string
207 207
     {
208 208
         return $this->supportPhone;
209 209
     }
210 210
 
211
-    public function setSupportPhone(?string $supportPhone)
211
+    public function setSupportPhone(? string $supportPhone)
212 212
     {
213 213
         $this->supportPhone = $supportPhone;
214 214
     }
215 215
 
216
-    public function getAccessUrl(): ?string
216
+    public function getAccessUrl(): ? string
217 217
     {
218 218
         return $this->accessUrl;
219 219
     }
220 220
 
221
-    public function setAccessUrl(?string $accessUrl)
221
+    public function setAccessUrl(? string $accessUrl)
222 222
     {
223 223
         $this->accessUrl = $accessUrl;
224 224
     }
225 225
 
226
-    public function getSecretWord(): ?string
226
+    public function getSecretWord(): ? string
227 227
     {
228 228
         return $this->secretWord;
229 229
     }
230 230
 
231
-    public function setSecretWord(?string $secretWord)
231
+    public function setSecretWord(? string $secretWord)
232 232
     {
233 233
         $this->secretWord = $secretWord;
234 234
     }
235 235
 
236
-    public function getAllowRebill():?int
236
+    public function getAllowRebill(): ? int
237 237
     {
238 238
         return $this->allowRebill;
239 239
     }
240 240
 
241
-    public function setAllowRebill(?int $allowRebill)
241
+    public function setAllowRebill(? int $allowRebill)
242 242
     {
243 243
         $this->allowRebill = $allowRebill;
244 244
     }
245 245
 
246
-    public function getUUID(): ?string
246
+    public function getUUID(): ? string
247 247
     {
248 248
         return $this->UUID;
249 249
     }
250 250
 
251
-    public function setUUID(?string $UUID)
251
+    public function setUUID(? string $UUID)
252 252
     {
253 253
         $this->UUID = $UUID;
254 254
     }
Please login to merge, or discard this patch.