@@ -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 | |
@@ -25,32 +25,32 @@ discard block |
||
25 | 25 | private $payments; |
26 | 26 | |
27 | 27 | |
28 | - public function getType(): ?string |
|
28 | + public function getType(): ? string |
|
29 | 29 | { |
30 | 30 | return $this->type; |
31 | 31 | } |
32 | 32 | |
33 | - public function setType(?string $type): void |
|
33 | + public function setType(? string $type) : void |
|
34 | 34 | { |
35 | 35 | $this->type = $type; |
36 | 36 | } |
37 | 37 | |
38 | - public function getPrice(): ?float |
|
38 | + public function getPrice(): ? float |
|
39 | 39 | { |
40 | 40 | return $this->price; |
41 | 41 | } |
42 | 42 | |
43 | - public function setPrice(?float $price): void |
|
43 | + public function setPrice(? float $price) : void |
|
44 | 44 | { |
45 | 45 | $this->price = $price; |
46 | 46 | } |
47 | 47 | |
48 | - public function getDescription(): ?string |
|
48 | + public function getDescription(): ? string |
|
49 | 49 | { |
50 | 50 | return $this->description; |
51 | 51 | } |
52 | 52 | |
53 | - public function setDescription(?string $description): void |
|
53 | + public function setDescription(? string $description) : void |
|
54 | 54 | { |
55 | 55 | $this->description = $description; |
56 | 56 | } |
@@ -65,42 +65,42 @@ discard block |
||
65 | 65 | $this->allowRandomPrice = $allowRandomPrice; |
66 | 66 | } |
67 | 67 | |
68 | - public function getFields(): ?string |
|
68 | + public function getFields(): ? string |
|
69 | 69 | { |
70 | 70 | return $this->fields; |
71 | 71 | } |
72 | 72 | |
73 | - public function setFields(?string $fields): void |
|
73 | + public function setFields(? string $fields) : void |
|
74 | 74 | { |
75 | 75 | $this->fields = $fields; |
76 | 76 | } |
77 | 77 | |
78 | - public function getCurrencyId(): ?int |
|
78 | + public function getCurrencyId(): ? int |
|
79 | 79 | { |
80 | 80 | return $this->currencyId; |
81 | 81 | } |
82 | 82 | |
83 | - public function setCurrencyId(?int $currencyId): void |
|
83 | + public function setCurrencyId(? int $currencyId) : void |
|
84 | 84 | { |
85 | 85 | $this->currencyId = $currencyId; |
86 | 86 | } |
87 | 87 | |
88 | - public function getSiteId(): ?int |
|
88 | + public function getSiteId(): ? int |
|
89 | 89 | { |
90 | 90 | return $this->siteId; |
91 | 91 | } |
92 | 92 | |
93 | - public function setSiteId(?int $siteId): void |
|
93 | + public function setSiteId(? int $siteId) : void |
|
94 | 94 | { |
95 | 95 | $this->siteId = $siteId; |
96 | 96 | } |
97 | 97 | |
98 | - public function getSite(): ?Site |
|
98 | + public function getSite(): ? Site |
|
99 | 99 | { |
100 | 100 | return $this->site; |
101 | 101 | } |
102 | 102 | |
103 | - public function setSite(?Site $site): void |
|
103 | + public function setSite(? Site $site) : void |
|
104 | 104 | { |
105 | 105 | $this->site = $site; |
106 | 106 | } |
@@ -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 | |
@@ -99,7 +99,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | } |