We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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 | /* |
6 | 6 | * This file is part of CSBill project. |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | * |
172 | 172 | * @return int |
173 | 173 | */ |
174 | - public function getId(): ?int |
|
174 | + public function getId(): ? int |
|
175 | 175 | { |
176 | 176 | return $this->id; |
177 | 177 | } |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * |
182 | 182 | * @return string |
183 | 183 | */ |
184 | - public function getName(): ?string |
|
184 | + public function getName(): ? string |
|
185 | 185 | { |
186 | 186 | return $this->name; |
187 | 187 | } |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | * |
206 | 206 | * @return string |
207 | 207 | */ |
208 | - public function getStatus(): ?string |
|
208 | + public function getStatus(): ? string |
|
209 | 209 | { |
210 | 210 | return $this->status; |
211 | 211 | } |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | * |
230 | 230 | * @return string |
231 | 231 | */ |
232 | - public function getWebsite(): ?string |
|
232 | + public function getWebsite(): ? string |
|
233 | 233 | { |
234 | 234 | return $this->website; |
235 | 235 | } |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | * |
412 | 412 | * @return Client |
413 | 413 | */ |
414 | - public function addAddress(?Address $address): self |
|
414 | + public function addAddress(? Address $address) : self |
|
415 | 415 | { |
416 | 416 | if (null !== $address) { |
417 | 417 | $this->addresses[] = $address; |
@@ -448,7 +448,7 @@ discard block |
||
448 | 448 | /** |
449 | 449 | * @return Credit |
450 | 450 | */ |
451 | - public function getCredit(): ?Credit |
|
451 | + public function getCredit(): ? Credit |
|
452 | 452 | { |
453 | 453 | return $this->credit; |
454 | 454 | } |
@@ -490,7 +490,7 @@ discard block |
||
490 | 490 | /** |
491 | 491 | * @return Currency|null |
492 | 492 | */ |
493 | - public function getCurrency(): ?Currency |
|
493 | + public function getCurrency(): ? Currency |
|
494 | 494 | { |
495 | 495 | return $this->currency ? new Currency($this->currency) : null; |
496 | 496 | } |
@@ -510,7 +510,7 @@ discard block |
||
510 | 510 | /** |
511 | 511 | * @return string |
512 | 512 | */ |
513 | - public function getVatNumber(): ?string |
|
513 | + public function getVatNumber(): ? string |
|
514 | 514 | { |
515 | 515 | return $this->vatNumber; |
516 | 516 | } |
@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | * |
521 | 521 | * @return $this |
522 | 522 | */ |
523 | - public function setVatNumber(?string $vatNumber): self |
|
523 | + public function setVatNumber(? string $vatNumber) : self |
|
524 | 524 | { |
525 | 525 | $this->vatNumber = $vatNumber; |
526 | 526 |
@@ -22,7 +22,8 @@ |
||
22 | 22 | { |
23 | 23 | public function buildForm(FormBuilderInterface $builder, array $options) |
24 | 24 | { |
25 | - $builder->addModelTransformer(new class() implements DataTransformerInterface { |
|
25 | + $builder->addModelTransformer(new class() implements DataTransformerInterface |
|
26 | + { |
|
26 | 27 | public function transform($value) |
27 | 28 | { |
28 | 29 | if (!is_string($value)) { |