1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-12 19:34:02 +00:00

Correct typehint

This commit is contained in:
lukinovec 2023-02-15 17:42:52 +01:00
parent 1fb607f352
commit 3a7deadd19

View file

@ -11,7 +11,7 @@ test('Money value is immutable', function () {
try {
$money->value = 200;
} catch (\Throwable $th) {
} catch (Error $th) {
expect($th->getMessage())->toStartWith('Cannot access protected property');
}
});
@ -21,7 +21,7 @@ test('Money currency is immutable', function () {
try {
$money->currency = 'EUR';
} catch (\Throwable $th) {
} catch (Error $th) {
expect($th->getMessage())->toStartWith('Cannot access protected property');
}
});