mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
Various code cleanup.
This commit is contained in:
@@ -126,9 +126,9 @@ class FireflyValidator extends Validator
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function validateIban($attribute, $value): bool
|
||||
public function validateIban(mixed $attribute, mixed $value): bool
|
||||
{
|
||||
if (null === $value || !is_string($value) || strlen($value) < 6) {
|
||||
if (!is_string($value) || strlen($value) < 6) {
|
||||
return false;
|
||||
}
|
||||
// strip spaces
|
||||
|
Reference in New Issue
Block a user