Commit c3fac91
committed
Fix LedgerAccount allowed_document_types type to accept bool
The Moneybird API can return a boolean for allowed_document_types
instead of an array. Updated the type from ?array to array|bool|null
to handle both cases.
Fixes TypeError in tests with PHP 8.2+ prefer-lowest.1 parent 57707cc commit c3fac91
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments