Started to increase the phpstan level

This commit is contained in:
Jan Böhmer 2023-06-13 10:36:34 +02:00
parent 71cd4057a7
commit fc3290271c
29 changed files with 119 additions and 55 deletions

View file

@ -37,6 +37,8 @@ use Symfony\Component\Validator\Constraints as Assert;
/**
* This entity represents a user group.
*
* @extends AbstractStructuralDBElement<GroupAttachment, GroupParameter>
*/
#[ORM\Entity]
#[ORM\Table('`groups`')]
@ -45,9 +47,6 @@ use Symfony\Component\Validator\Constraints as Assert;
#[NoLockout()]
class Group extends AbstractStructuralDBElement implements HasPermissionsInterface
{
/**
* @var Collection<int, self>
*/
#[ORM\OneToMany(targetEntity: 'Group', mappedBy: 'parent')]
#[ORM\OrderBy(['name' => 'ASC'])]
protected Collection $children;