mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -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',
|
||||
|
|
|
@ -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';
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue