Skip to content

Commit fac765d

Browse files
author
Marko Petrovic
committed
reformat
1 parent c3eea10 commit fac765d

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

src/DTO/Creditor.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Creditor implements RelatedPartyTypeInterface
88
{
99
private ?Address $address = null;
10-
private ?string $orgId;
10+
private ?string $orgId;
1111

1212
public function __construct(private ?string $name)
1313
{
@@ -28,13 +28,13 @@ public function getName(): ?string
2828
return $this->name;
2929
}
3030

31-
public function setOrgId(?string $orgId): void
32-
{
33-
$this->orgId = $orgId;
34-
}
31+
public function setOrgId(?string $orgId): void
32+
{
33+
$this->orgId = $orgId;
34+
}
3535

36-
public function getOrgId(): ?string
37-
{
38-
return $this->orgId;
39-
}
36+
public function getOrgId(): ?string
37+
{
38+
return $this->orgId;
39+
}
4040
}

src/DTO/Debtor.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Debtor implements RelatedPartyTypeInterface
88
{
99
private ?Address $address = null;
10-
private ?string $orgId;
10+
private ?string $orgId;
1111

1212
public function __construct(private ?string $name)
1313
{
@@ -28,13 +28,13 @@ public function getName(): ?string
2828
return $this->name;
2929
}
3030

31-
public function setOrgId(?string $orgId): void
32-
{
33-
$this->orgId = $orgId;
34-
}
31+
public function setOrgId(?string $orgId): void
32+
{
33+
$this->orgId = $orgId;
34+
}
3535

36-
public function getOrgId(): ?string
37-
{
38-
return $this->orgId;
39-
}
36+
public function getOrgId(): ?string
37+
{
38+
return $this->orgId;
39+
}
4040
}

src/Decoder/EntryTransactionDetail.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ protected function addRelatedParty(DTO\EntryTransactionDetail $detail, SimpleXML
106106

107107
$xmlRelatedPartyName = (isset($xmlPartyDetail->Nm)) ? (string) $xmlPartyDetail->Nm : null;
108108
$relatedPartyType = new $relatedPartyTypeClass($xmlRelatedPartyName);
109-
$orgId = $xmlRelatedPartyType?->Id?->OrgId?->Othr?->Id;
109+
$orgId = $xmlRelatedPartyType?->Id?->OrgId?->Othr?->Id;
110110

111-
$relatedPartyType->setOrgId((string) $orgId);
111+
$relatedPartyType->setOrgId((string)$orgId);
112112
if (isset($xmlPartyDetail->PstlAdr)) {
113113
$relatedPartyType->setAddress(DTOFactory\Address::createFromXml($xmlPartyDetail->PstlAdr));
114114
}

0 commit comments

Comments
 (0)