@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | if (array_key_exists($name, $this->properties)) { |
31 | 31 | return $this->properties[$name]; |
32 | 32 | } |
33 | - throw new Exceptions\Runtime('Property does not exists. ' . $name); |
|
33 | + throw new Exceptions\Runtime('Property does not exists. '.$name); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | public function bindProperty(string $name, string $type, mixed $value): void |
44 | 44 | { |
45 | - $method = 'set' . ucfirst($name); |
|
45 | + $method = 'set'.ucfirst($name); |
|
46 | 46 | if (method_exists($this, $method)) { |
47 | 47 | $value = $this->{$method}($value); |
48 | 48 | } elseif ($value !== null) { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public function setPaymentType(int $type): static |
26 | 26 | { |
27 | - $this->paymentType = Exceptions\InvalidArgument::checkIsInList($type, self::TYPES_PAYMENT);; |
|
27 | + $this->paymentType = Exceptions\InvalidArgument::checkIsInList($type, self::TYPES_PAYMENT); ; |
|
28 | 28 | return $this; |
29 | 29 | } |
30 | 30 |
@@ -135,7 +135,7 @@ |
||
135 | 135 | public function current(): mixed |
136 | 136 | { |
137 | 137 | $property = $this->key(); |
138 | - $method = 'get' . ucfirst($property); |
|
138 | + $method = 'get'.ucfirst($property); |
|
139 | 139 | if (method_exists($this, $method)) { |
140 | 140 | return $this->{$method}(); |
141 | 141 | } |