Fixed PHPstan issues

This commit is contained in:
Jan Böhmer 2024-06-22 16:53:59 +02:00
parent 5074e2beac
commit 002d29a53e
4 changed files with 3 additions and 6 deletions

View file

@ -86,9 +86,6 @@ use Symfony\Component\Validator\Constraints as Assert;
#[ApiFilter(OrderFilter::class, properties: ['name', 'id', 'addedDate', 'lastModified'])]
class AttachmentType extends AbstractStructuralDBElement
{
/**
* @var Collection<int, \App\Entity\Attachments\AttachmentType>
*/
#[ORM\OneToMany(mappedBy: 'parent', targetEntity: AttachmentType::class, cascade: ['persist'])]
#[ORM\OrderBy(['name' => Criteria::ASC])]
protected Collection $children;