| Total Complexity | 11 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ValidAPIWeather extends ValidWeather |
||
| 11 | { |
||
| 12 | private $latitud; |
||
| 13 | private $longitud; |
||
| 14 | private $userip; |
||
| 15 | private $ip; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Constructor to initiate an ValidWeather object, |
||
| 19 | * |
||
| 20 | * @param string $userinput |
||
| 21 | * |
||
| 22 | */ |
||
| 23 | 6 | public function __construct(object $userinput, object $ip) |
|
| 39 | 6 | } |
|
| 40 | |||
| 41 | 6 | private function missinginput() : bool |
|
| 47 | } |
||
| 48 | |||
| 49 | 6 | public function errormsg() : string |
|
| 61 |