Various code cleanup.

This commit is contained in:
James Cole
2022-12-30 09:28:03 +01:00
parent 03e176bd16
commit ee0116f112
17 changed files with 171 additions and 125 deletions

View File

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