| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PropertyHelper |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param array $data |
||
| 14 | * @param string $key |
||
| 15 | * |
||
| 16 | * @return string|null |
||
| 17 | */ |
||
| 18 | 46 | public static function checkNullValueString(array $data, string $key) |
|
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $data |
||
| 25 | * @param string $key |
||
| 26 | * |
||
| 27 | * @return int|null |
||
| 28 | */ |
||
| 29 | 25 | public static function checkNullValueInt(array $data, string $key) |
|
| 34 |