mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Started to increase the phpstan level
This commit is contained in:
parent
71cd4057a7
commit
fc3290271c
29 changed files with 119 additions and 55 deletions
|
@ -37,15 +37,14 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||
|
||||
/**
|
||||
* Class AttachmentType.
|
||||
* This class represents a project in the database.
|
||||
*
|
||||
* @extends AbstractStructuralDBElement<ProjectAttachment, ProjectParameter>
|
||||
*/
|
||||
#[ORM\Entity(repositoryClass: DeviceRepository::class)]
|
||||
#[ORM\Table(name: 'projects')]
|
||||
class Project extends AbstractStructuralDBElement
|
||||
{
|
||||
/**
|
||||
* @var Collection
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: 'Project', mappedBy: 'parent')]
|
||||
#[ORM\OrderBy(['name' => 'ASC'])]
|
||||
protected Collection $children;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue