Skip to content

Commit abffeea

Browse files
keatliang2005rez1dent3
authored andcommitted
Coding standard fix
1 parent 1ecdf11 commit abffeea

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/Units/Domain/TransactionAmountFloatAccessorTest.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ public function testTransactionAmountFloatAccessor(): void
3232
$twoDecimalTransaction = $twoDecimalWallet->depositFloat($amountTwoDecimal);
3333

3434
self::assertNotNull($twoDecimalTransaction);
35-
self::assertSame($amountTwoDecimal, (float) $twoDecimalTransaction->amountFloat, 'amount float is same decimal places');
35+
self::assertSame(
36+
$amountTwoDecimal,
37+
(float) $twoDecimalTransaction->amountFloat,
38+
'amount float is same decimal places'
39+
);
3640

3741
// four decimal
3842
$fourDecimalWallet = $user->createWallet([
@@ -45,6 +49,10 @@ public function testTransactionAmountFloatAccessor(): void
4549
$fourDecimalTransaction = $fourDecimalWallet->depositFloat($amountFourDecimal);
4650

4751
self::assertNotNull($fourDecimalTransaction);
48-
self::assertSame($amountFourDecimal, (float) $fourDecimalTransaction->amountFloat, 'amount float is same decimal places');
52+
self::assertSame(
53+
$amountFourDecimal,
54+
(float) $fourDecimalTransaction->amountFloat,
55+
'amount float is same decimal places'
56+
);
4957
}
5058
}

0 commit comments

Comments
 (0)