Fixed typos

This commit is contained in:
Jan Böhmer 2023-04-15 23:14:53 +02:00
parent 63df16a369
commit d04d743520
144 changed files with 263 additions and 265 deletions

View file

@ -59,7 +59,7 @@ final class UserChecker implements UserCheckerInterface
return;
}
//Check if user is disabled. Then dont allow login
//Check if user is disabled. Then don't allow login
if ($user->isDisabled()) {
//throw new DisabledException();
throw new CustomUserMessageAccountStatusException($this->translator->trans('user.login_error.user_disabled', [], 'security'));

View file

@ -69,7 +69,7 @@ class StructureVoter extends ExtendedVoter
}
/**
* Maps a instance type to the permission name.
* Maps an instance type to the permission name.
*
* @param object|string $subject The subject for which the permission name should be generated
*

View file

@ -80,7 +80,7 @@ class UserVoter extends ExtendedVoter
}
}
//Else just check users permission:
//Else just check user permission:
if ($this->resolver->isValidOperation('users', $attribute)) {
return $this->resolver->inherit($user, 'users', $attribute) ?? false;
}