mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Clean up code.
This commit is contained in:
@@ -104,7 +104,7 @@ class FireflyValidator extends Validator
|
||||
/**
|
||||
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
|
||||
*/
|
||||
public function validateBic(mixed $attribute, mixed $value): bool
|
||||
public function validateBic(mixed $attribute, mixed $value): bool
|
||||
{
|
||||
if (!is_string($value) || strlen($value) < 8) {
|
||||
return false;
|
||||
@@ -857,8 +857,7 @@ class FireflyValidator extends Validator
|
||||
->where('trigger', $trigger)
|
||||
->where('response', $response)
|
||||
->where('delivery', $delivery)
|
||||
->where('url', $url)->count()
|
||||
;
|
||||
->where('url', $url)->count();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user