mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Started to increase the phpstan level
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user