svg
This commit is contained in:
@@ -33,7 +33,7 @@ class Operation
|
||||
|
||||
#[ORM\ManyToOne(inversedBy: 'operations')]
|
||||
#[ORM\JoinColumn(nullable: false)]
|
||||
private ?Company $company = null;
|
||||
private Company $company;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
@@ -100,12 +100,12 @@ class Operation
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCompany(): ?Company
|
||||
public function getCompany(): Company
|
||||
{
|
||||
return $this->company;
|
||||
}
|
||||
|
||||
public function setCompany(?Company $company): static
|
||||
public function setCompany(Company $company): static
|
||||
{
|
||||
$this->company = $company;
|
||||
|
||||
|
Reference in New Issue
Block a user