mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Final set of php8.4 changes.
This commit is contained in:
@@ -418,7 +418,7 @@ class FireflyValidator extends Validator
|
||||
// check transaction type.
|
||||
// TODO create a helper to automatically return these.
|
||||
if ('transaction_type' === $triggerType) {
|
||||
$count = TransactionType::where('type', ucfirst($value))->count();
|
||||
$count = TransactionType::where('type', ucfirst((string) $value))->count();
|
||||
|
||||
return 1 === $count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user