diff --git a/src/Camt054/Decoder/EntryTransactionDetail.php b/src/Camt054/Decoder/EntryTransactionDetail.php index de9bfbc..f8d9229 100644 --- a/src/Camt054/Decoder/EntryTransactionDetail.php +++ b/src/Camt054/Decoder/EntryTransactionDetail.php @@ -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 { diff --git a/src/Decoder/EntryTransactionDetail.php b/src/Decoder/EntryTransactionDetail.php index c0e74fc..da85926 100644 --- a/src/Decoder/EntryTransactionDetail.php +++ b/src/Decoder/EntryTransactionDetail.php @@ -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 { diff --git a/test/Unit/RegressionTest.php b/test/Unit/RegressionTest.php index 88cd2e6..b864d6c 100644 --- a/test/Unit/RegressionTest.php +++ b/test/Unit/RegressionTest.php @@ -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);