mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-11 00:16:54 +00:00
Various code cleanup.
This commit is contained in:
@@ -87,10 +87,10 @@ class UniqueAccountNumber implements Rule
|
||||
public function passes($attribute, $value): bool
|
||||
{
|
||||
if (!auth()->check()) {
|
||||
return true; // @codeCoverageIgnore
|
||||
return true;
|
||||
}
|
||||
if (null === $this->expectedType) {
|
||||
return true; // @codeCoverageIgnore
|
||||
return true;
|
||||
}
|
||||
$maxCounts = $this->getMaxOccurrences();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user