| 1 | <?php |
||
| 14 | class DewPoint |
||
| 15 | { |
||
| 16 | /** @var float */ |
||
| 17 | protected $temp = null; |
||
| 18 | /** @var float */ |
||
| 19 | protected $humidity = null; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return float |
||
| 23 | */ |
||
| 24 | 2 | public function getTemp(): float |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param float $temp |
||
| 31 | */ |
||
| 32 | 2 | public function setTemp(float $temp): self |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return float |
||
| 40 | */ |
||
| 41 | 2 | public function getHumidity(): float |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @param float $humidity |
||
| 48 | */ |
||
| 49 | 2 | public function setHumidity(float $humidity): self |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return float |
||
| 57 | */ |
||
| 58 | 1 | public function calc(): float |
|
| 73 | } |
||
| 74 |