passage en float du poid d'un ticket

This commit is contained in:
afornerot 2022-10-10 09:35:05 +02:00
parent 6df0706729
commit 2c123e7089
1 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,7 @@ class Scrumissue
private $rowid;
/**
* @ORM\Column(type="integer")
* @ORM\Column(type="float")
*/
private $weight=0;
@ -203,12 +203,12 @@ class Scrumissue
return $this;
}
public function getWeight(): ?int
public function getWeight(): ?float
{
return $this->weight;
}
public function setWeight(int $weight): self
public function setWeight(float $weight): self
{
$this->weight = $weight;
@ -216,4 +216,5 @@ class Scrumissue
}
}