mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Small code quality improvements.
This commit is contained in:
@@ -55,7 +55,7 @@ class FireflyValidator extends Validator
|
||||
*/
|
||||
public function validate2faCode($attribute, $value): bool
|
||||
{
|
||||
if (!\is_string($value) || null === $value || 6 != \strlen($value)) {
|
||||
if (!\is_string($value) || null === $value || 6 !== \strlen($value)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user