mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
🤖 Auto commit for release 'develop' on 2025-05-04
This commit is contained in:
@@ -45,9 +45,7 @@ class BelongsUserGroup implements ValidationRule
|
||||
/**
|
||||
* Create a new rule instance.
|
||||
*/
|
||||
public function __construct(private readonly UserGroup $userGroup)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly UserGroup $userGroup) {}
|
||||
|
||||
public function validate(string $attribute, mixed $value, \Closure $fail): void
|
||||
{
|
||||
|
@@ -34,9 +34,7 @@ use Illuminate\Contracts\Validation\ValidationRule;
|
||||
*/
|
||||
class IsDefaultUserGroupName implements ValidationRule
|
||||
{
|
||||
public function __construct(private readonly UserGroup $userGroup)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly UserGroup $userGroup) {}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
|
||||
|
@@ -28,9 +28,7 @@ use Illuminate\Contracts\Validation\ValidationRule;
|
||||
|
||||
class IsFilterValueIn implements ValidationRule
|
||||
{
|
||||
public function __construct(private readonly string $key, private readonly array $values)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly string $key, private readonly array $values) {}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
|
||||
|
@@ -33,9 +33,7 @@ class IsValidZeroOrMoreAmount implements ValidationRule
|
||||
{
|
||||
use ValidatesAmountsTrait;
|
||||
|
||||
public function __construct(private bool $nullable = false)
|
||||
{
|
||||
}
|
||||
public function __construct(private bool $nullable = false) {}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
|
||||
|
Reference in New Issue
Block a user