Clean up code.

This commit is contained in:
James Cole
2025-05-04 17:41:26 +02:00
parent e28e538272
commit 0573bf2402
147 changed files with 1758 additions and 1770 deletions

View File

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