| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Stock |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @ORM\Id @ORM\Column(type="integer") @ORM\GeneratedValue |
||
| 15 | * @var integer|null |
||
| 16 | **/ |
||
| 17 | private $id; |
||
| 18 | /** |
||
| 19 | * @ORM\Column(type="float") |
||
| 20 | * @var float |
||
| 21 | **/ |
||
| 22 | private $qty; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return int|null |
||
| 26 | */ |
||
| 27 | public function getId(): ?int |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return float |
||
| 34 | */ |
||
| 35 | public function getQty(): float |
||
| 36 | { |
||
| 37 | return $this->qty; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param float $qty |
||
| 42 | */ |
||
| 43 | public function setQty(float $qty): void |
||
| 46 | } |
||
| 47 | } |
||
| 48 |