@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AcquiroPay\Contracts; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 | } |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | } |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | } |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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', |
@@ -1,6 +1,6 @@ discard block |
||
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 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * @return int |
86 | 86 | */ |
87 | - public function getShowLanguage(): ?int |
|
87 | + public function getShowLanguage(): ? int |
|
88 | 88 | { |
89 | 89 | return $this->showLanguage; |
90 | 90 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * @param int $showLanguage |
94 | 94 | */ |
95 | - public function setShowLanguage(?int $showLanguage) |
|
95 | + public function setShowLanguage(? int $showLanguage) |
|
96 | 96 | { |
97 | 97 | $this->showLanguage = $showLanguage; |
98 | 98 | } |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * @return string |
102 | 102 | */ |
103 | - public function getSiteLanguage(): ?string |
|
103 | + public function getSiteLanguage(): ? string |
|
104 | 104 | { |
105 | 105 | return $this->siteLanguage; |
106 | 106 | } |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * @param string $siteLanguage |
110 | 110 | */ |
111 | - public function setSiteLanguage(?string $siteLanguage) |
|
111 | + public function setSiteLanguage(? string $siteLanguage) |
|
112 | 112 | { |
113 | 113 | $this->siteLanguage = $siteLanguage; |
114 | 114 | } |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * @return int|null |
118 | 118 | */ |
119 | - public function getMerchantId(): ?int |
|
119 | + public function getMerchantId(): ? int |
|
120 | 120 | { |
121 | 121 | return $this->merchantId; |
122 | 122 | } |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * @param int|null $merchantId |
126 | 126 | */ |
127 | - public function setMerchantId(?int $merchantId) |
|
127 | + public function setMerchantId(? int $merchantId) |
|
128 | 128 | { |
129 | 129 | $this->merchantId = $merchantId; |
130 | 130 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * @return string |
134 | 134 | */ |
135 | - public function getStatus(): ?string |
|
135 | + public function getStatus(): ? string |
|
136 | 136 | { |
137 | 137 | return $this->status; |
138 | 138 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * @param string $status |
142 | 142 | */ |
143 | - public function setStatus(?string $status) |
|
143 | + public function setStatus(? string $status) |
|
144 | 144 | { |
145 | 145 | $this->status = $status; |
146 | 146 | } |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | /** |
149 | 149 | * @return string |
150 | 150 | */ |
151 | - public function getType(): ?string |
|
151 | + public function getType(): ? string |
|
152 | 152 | { |
153 | 153 | return $this->type; |
154 | 154 | } |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * @param string $type |
158 | 158 | */ |
159 | - public function setType(?string $type) |
|
159 | + public function setType(? string $type) |
|
160 | 160 | { |
161 | 161 | $this->type = $type; |
162 | 162 | } |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * @return string |
166 | 166 | */ |
167 | - public function getUrl(): ?string |
|
167 | + public function getUrl(): ? string |
|
168 | 168 | { |
169 | 169 | return $this->url; |
170 | 170 | } |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | /** |
173 | 173 | * @param string $url |
174 | 174 | */ |
175 | - public function setUrl(?string $url) |
|
175 | + public function setUrl(? string $url) |
|
176 | 176 | { |
177 | 177 | $this->url = $url; |
178 | 178 | } |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | /** |
181 | 181 | * @return string |
182 | 182 | */ |
183 | - public function getShortName(): ?string |
|
183 | + public function getShortName(): ? string |
|
184 | 184 | { |
185 | 185 | return $this->shortName; |
186 | 186 | } |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * @param string $shortName |
190 | 190 | */ |
191 | - public function setShortName(?string $shortName) |
|
191 | + public function setShortName(? string $shortName) |
|
192 | 192 | { |
193 | 193 | $this->shortName = $shortName; |
194 | 194 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * @return int |
198 | 198 | */ |
199 | - public function getDesignId(): ?int |
|
199 | + public function getDesignId(): ? int |
|
200 | 200 | { |
201 | 201 | return $this->designId; |
202 | 202 | } |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | /** |
205 | 205 | * @param int $designId |
206 | 206 | */ |
207 | - public function setDesignId(?int $designId) |
|
207 | + public function setDesignId(? int $designId) |
|
208 | 208 | { |
209 | 209 | $this->designId = $designId; |
210 | 210 | } |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | /** |
213 | 213 | * @return int |
214 | 214 | */ |
215 | - public function getAntifraudId(): ?int |
|
215 | + public function getAntifraudId(): ? int |
|
216 | 216 | { |
217 | 217 | return $this->antifraudId; |
218 | 218 | } |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | /** |
221 | 221 | * @param int $antifraudId |
222 | 222 | */ |
223 | - public function setAntifraudId(?int $antifraudId) |
|
223 | + public function setAntifraudId(? int $antifraudId) |
|
224 | 224 | { |
225 | 225 | $this->antifraudId = $antifraudId; |
226 | 226 | } |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * @return string |
230 | 230 | */ |
231 | - public function getOfferCountry(): ?string |
|
231 | + public function getOfferCountry(): ? string |
|
232 | 232 | { |
233 | 233 | return $this->offerCountry; |
234 | 234 | } |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * @param string $offerCountry |
238 | 238 | */ |
239 | - public function setOfferCountry(?string $offerCountry) |
|
239 | + public function setOfferCountry(? string $offerCountry) |
|
240 | 240 | { |
241 | 241 | $this->offerCountry = $offerCountry; |
242 | 242 | } |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | /** |
245 | 245 | * @return int |
246 | 246 | */ |
247 | - public function getTariffId(): ?int |
|
247 | + public function getTariffId(): ? int |
|
248 | 248 | { |
249 | 249 | return $this->tariffId; |
250 | 250 | } |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | /** |
253 | 253 | * @param int $tariffId |
254 | 254 | */ |
255 | - public function setTariffId(?int $tariffId) |
|
255 | + public function setTariffId(? int $tariffId) |
|
256 | 256 | { |
257 | 257 | $this->tariffId = $tariffId; |
258 | 258 | } |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * @return string |
262 | 262 | */ |
263 | - public function getXFrameOption(): ?string |
|
263 | + public function getXFrameOption(): ? string |
|
264 | 264 | { |
265 | 265 | return $this->xFrameOption; |
266 | 266 | } |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | /** |
269 | 269 | * @param string $xFrameOption |
270 | 270 | */ |
271 | - public function setXFrameOption(?string $xFrameOption) |
|
271 | + public function setXFrameOption(? string $xFrameOption) |
|
272 | 272 | { |
273 | 273 | $this->xFrameOption = $xFrameOption; |
274 | 274 | } |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | /** |
277 | 277 | * @return string |
278 | 278 | */ |
279 | - public function getUrlAlias(): ?string |
|
279 | + public function getUrlAlias(): ? string |
|
280 | 280 | { |
281 | 281 | return $this->urlAlias; |
282 | 282 | } |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * @param string $urlAlias |
286 | 286 | */ |
287 | - public function setUrlAlias(?string $urlAlias) |
|
287 | + public function setUrlAlias(? string $urlAlias) |
|
288 | 288 | { |
289 | 289 | $this->urlAlias = $urlAlias; |
290 | 290 | } |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | /** |
293 | 293 | * @return Tariff |
294 | 294 | */ |
295 | - public function getTariff(): ?Tariff |
|
295 | + public function getTariff(): ? Tariff |
|
296 | 296 | { |
297 | 297 | return $this->tariff; |
298 | 298 | } |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | /** |
301 | 301 | * @param Tariff $tariff |
302 | 302 | */ |
303 | - public function setTariff(?Tariff $tariff) |
|
303 | + public function setTariff(? Tariff $tariff) |
|
304 | 304 | { |
305 | 305 | $this->tariff = $tariff; |
306 | 306 | } |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * @return Product[] |
310 | 310 | */ |
311 | - public function getProducts(): ?array |
|
311 | + public function getProducts(): ? array |
|
312 | 312 | { |
313 | 313 | return $this->products; |
314 | 314 | } |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | /** |
317 | 317 | * @param Product[] $products |
318 | 318 | */ |
319 | - public function setProducts(?array $products) |
|
319 | + public function setProducts(? array $products) |
|
320 | 320 | { |
321 | 321 | $this->products = $products; |
322 | 322 | } |
@@ -1,6 +1,6 @@ discard block |
||
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,32 +19,32 @@ discard block |
||
19 | 19 | private $siteId; |
20 | 20 | private $site; |
21 | 21 | |
22 | - public function getType(): ?string |
|
22 | + public function getType(): ? string |
|
23 | 23 | { |
24 | 24 | return $this->type; |
25 | 25 | } |
26 | 26 | |
27 | - public function setType(?string $type): void |
|
27 | + public function setType(? string $type) : void |
|
28 | 28 | { |
29 | 29 | $this->type = $type; |
30 | 30 | } |
31 | 31 | |
32 | - public function getPrice(): ?float |
|
32 | + public function getPrice(): ? float |
|
33 | 33 | { |
34 | 34 | return $this->price; |
35 | 35 | } |
36 | 36 | |
37 | - public function setPrice(?float $price): void |
|
37 | + public function setPrice(? float $price) : void |
|
38 | 38 | { |
39 | 39 | $this->price = $price; |
40 | 40 | } |
41 | 41 | |
42 | - public function getDescription(): ?string |
|
42 | + public function getDescription(): ? string |
|
43 | 43 | { |
44 | 44 | return $this->description; |
45 | 45 | } |
46 | 46 | |
47 | - public function setDescription(?string $description): void |
|
47 | + public function setDescription(? string $description) : void |
|
48 | 48 | { |
49 | 49 | $this->description = $description; |
50 | 50 | } |
@@ -59,42 +59,42 @@ discard block |
||
59 | 59 | $this->allowRandomPrice = $allowRandomPrice; |
60 | 60 | } |
61 | 61 | |
62 | - public function getFields(): ?string |
|
62 | + public function getFields(): ? string |
|
63 | 63 | { |
64 | 64 | return $this->fields; |
65 | 65 | } |
66 | 66 | |
67 | - public function setFields(?string $fields): void |
|
67 | + public function setFields(? string $fields) : void |
|
68 | 68 | { |
69 | 69 | $this->fields = $fields; |
70 | 70 | } |
71 | 71 | |
72 | - public function getCurrencyId(): ?int |
|
72 | + public function getCurrencyId(): ? int |
|
73 | 73 | { |
74 | 74 | return $this->currencyId; |
75 | 75 | } |
76 | 76 | |
77 | - public function setCurrencyId(?int $currencyId): void |
|
77 | + public function setCurrencyId(? int $currencyId) : void |
|
78 | 78 | { |
79 | 79 | $this->currencyId = $currencyId; |
80 | 80 | } |
81 | 81 | |
82 | - public function getSiteId(): ?int |
|
82 | + public function getSiteId(): ? int |
|
83 | 83 | { |
84 | 84 | return $this->siteId; |
85 | 85 | } |
86 | 86 | |
87 | - public function setSiteId(?int $siteId): void |
|
87 | + public function setSiteId(? int $siteId) : void |
|
88 | 88 | { |
89 | 89 | $this->siteId = $siteId; |
90 | 90 | } |
91 | 91 | |
92 | - public function getSite(): ?Site |
|
92 | + public function getSite(): ? Site |
|
93 | 93 | { |
94 | 94 | return $this->site; |
95 | 95 | } |
96 | 96 | |
97 | - public function setSite(?Site $site): void |
|
97 | + public function setSite(? Site $site) : void |
|
98 | 98 | { |
99 | 99 | $this->site = $site; |
100 | 100 | } |