mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 09:24:32 +02:00
Fixed PHPstan issues
This commit is contained in:
parent
5074e2beac
commit
002d29a53e
4 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue