Auto commit for release 'develop' on 2024-03-18

This commit is contained in:
github-actions
2024-03-18 20:25:30 +01:00
parent db0dbcfcf1
commit 9aa90650b4
108 changed files with 528 additions and 529 deletions

View File

@@ -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);

View File

@@ -45,7 +45,7 @@ trait TransactionValidation
*
* Inclusion of user and/or group is optional.
*/
public function validateAccountInformation(Validator $validator, User $user = null, UserGroup $userGroup = null): void
public function validateAccountInformation(Validator $validator, ?User $user = null, ?UserGroup $userGroup = null): void
{
if ($validator->errors()->count() > 0) {
return;