From 2c123e708925280ee9f6fca0030b5afc30e5fc96 Mon Sep 17 00:00:00 2001 From: afornerot Date: Mon, 10 Oct 2022 09:35:05 +0200 Subject: [PATCH] passage en float du poid d'un ticket --- src/ninegitea-1.0/src/Entity/Scrumissue.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ninegitea-1.0/src/Entity/Scrumissue.php b/src/ninegitea-1.0/src/Entity/Scrumissue.php index 8da46c6..401f24b 100644 --- a/src/ninegitea-1.0/src/Entity/Scrumissue.php +++ b/src/ninegitea-1.0/src/Entity/Scrumissue.php @@ -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 } + } \ No newline at end of file