Skip to content

Commit 36445bd

Browse files
Edit property types (#2)
1 parent b9e6386 commit 36445bd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Entity/Base.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abstract class Base
2727
private $currency = 'BGN';
2828

2929
/**
30-
* @var int
30+
* @var string
3131
*/
3232
private $orderId;
3333

@@ -47,7 +47,7 @@ abstract class Base
4747
private $sign;
4848

4949
/**
50-
* @var int
50+
* @var string
5151
*/
5252
private $rrn;
5353

@@ -91,12 +91,12 @@ public function getCurrency(): ?string
9191
return $this->currency;
9292
}
9393

94-
public function setOrderId(int $orderId): void
94+
public function setOrderId(string $orderId): void
9595
{
9696
$this->orderId = $orderId;
9797
}
9898

99-
public function getOrderId(): ?int
99+
public function getOrderId(): ?string
100100
{
101101
return $this->orderId;
102102
}
@@ -141,12 +141,12 @@ public function getSign(): ?string
141141
return $this->sign;
142142
}
143143

144-
public function setRrn(int $rrn): void
144+
public function setRrn(string $rrn): void
145145
{
146146
$this->rrn = $rrn;
147147
}
148148

149-
public function getRrn(): ?int
149+
public function getRrn(): ?string
150150
{
151151
return $this->rrn;
152152
}

src/Entity/Response.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Response extends Base
4040
private $paresStatus;
4141

4242
/**
43-
* @var int
43+
* @var string
4444
*/
4545
private $eci;
4646

@@ -119,12 +119,12 @@ public function getParesStatus(): ?string
119119
return $this->paresStatus;
120120
}
121121

122-
public function setEci(int $eci): void
122+
public function setEci(string $eci): void
123123
{
124124
$this->eci = $eci;
125125
}
126126

127-
public function getEci(): ?int
127+
public function getEci(): ?string
128128
{
129129
return $this->eci;
130130
}

0 commit comments

Comments
 (0)