mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Clean up code.
This commit is contained in:
@@ -299,7 +299,7 @@ class FireflyValidator extends Validator
|
||||
public function validateRuleActionValue(string $attribute, string $value = null): bool
|
||||
{
|
||||
// first, get the index from this string:
|
||||
$value = $value ?? '';
|
||||
$value ??= '';
|
||||
$parts = explode('.', $attribute);
|
||||
$index = (int)($parts[1] ?? '0');
|
||||
|
||||
|
Reference in New Issue
Block a user