mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Auto commit for release 'develop' on 2024-03-18
This commit is contained in:
@@ -253,7 +253,7 @@ class FireflyValidator extends Validator
|
||||
return 1 === $count;
|
||||
}
|
||||
|
||||
public function validateRuleActionValue(string $attribute, string $value = null): bool
|
||||
public function validateRuleActionValue(string $attribute, ?string $value = null): bool
|
||||
{
|
||||
// first, get the index from this string:
|
||||
$value ??= '';
|
||||
@@ -324,7 +324,7 @@ class FireflyValidator extends Validator
|
||||
/**
|
||||
* $attribute has the format triggers.%d.value.
|
||||
*/
|
||||
public function validateRuleTriggerValue(string $attribute, string $value = null): bool
|
||||
public function validateRuleTriggerValue(string $attribute, ?string $value = null): bool
|
||||
{
|
||||
// first, get the index from this string:
|
||||
$parts = explode('.', $attribute);
|
||||
|
Reference in New Issue
Block a user