Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Mar 22, 2024
1 parent f829a59 commit 20363b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Camt054/Decoder/EntryTransactionDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ public function getRelatedPartyAccount(?SimpleXMLElement $xmlRelatedPartyTypeAcc

return null;
}

/**
* Get Agent BIC from either FinInstnId.BIC or .BICFI, dependeing on protocol version
* Get Agent BIC from either FinInstnId.BIC or .BICFI, depending on the protocol version.
*/
protected function getAgentBic(SimpleXMLElement $xmlAgent): ?SimpleXMLElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/Decoder/EntryTransactionDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public function addAmount(DTO\EntryTransactionDetail $detail, SimpleXMLElement $
abstract public function getRelatedPartyAccount(?SimpleXMLElement $xmlRelatedPartyTypeAccount): ?DTO\Account;

/**
* Get Agent BIC from either FinInstnId.BIC or .BICFI, dependeing on protocol version
* Get Agent BIC from either FinInstnId.BIC or .BICFI, depending on the protocol version.
*/
protected function getAgentBic(SimpleXMLElement $xmlAgent): ?SimpleXMLElement
{
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RegressionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function tearDown(): void
public function testRegression(string $file): void
{
$reader = new Reader(Config::getDefault());
$message = $reader->readFile(__DIR__.'/../../'.$file);
$message = $reader->readFile($file);

$dumper = new Dumper();
$actual = $dumper->dump($message);
Expand Down

0 comments on commit 20363b9

Please sign in to comment.