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

@ -68,7 +68,7 @@ class NoLockoutValidator extends ConstraintValidator
$user = $this->entityManager->getRepository(User::class)->getAnonymousUser();
}
//Check if we the change_permission permission has changed from allow to disallow
//Check if the change_permission permission has changed from allow to disallow
if (($user instanceof User) && false === ($this->resolver->inherit(
$user,
'users',

View file

@ -25,7 +25,7 @@ namespace App\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
/**
* Constraints the parent property on StructuralDBElement objects in the way, that neither the object self or any
* Constraints the parent property on StructuralDBElement objects in the way, that neither the object self nor any
* of its children can be assigned.
*
* @Annotation
@ -33,7 +33,7 @@ use Symfony\Component\Validator\Constraint;
class NoneOfItsChildren extends Constraint
{
/**
* @var string The message used if it is tried to assign a object as its own parent
* @var string The message used if it is tried to assign an object as its own parent
*/
public string $self_message = 'validator.noneofitschild.self';
/**

View file

@ -26,7 +26,7 @@ use App\Entity\Attachments\Attachment;
use Symfony\Component\Validator\Constraints\Url;
/**
* Constraints the field that way that the content is either a url or a path to a builtin ressource (like %FOOTPRINTS%).
* Constraints the field that way that the content is either an url or a path to a builtin ressource (like %FOOTPRINTS%).
*
* @Annotation
*/