Reverse logic operators.

This commit is contained in:
James Cole
2020-10-24 16:59:56 +02:00
parent 179a710c5b
commit b3f1737495
11 changed files with 52 additions and 31 deletions

View File

@@ -71,6 +71,6 @@ class IsTransferAccount implements Rule
$validAccount = $validator->validateSource((int)$value, null, null);
Log::debug(sprintf('Search by id (%d), result is %s.', (int)$value, var_export($validAccount, true)));
return !(false === $validAccount);
return false !== $validAccount;
}
}