| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 40% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class Util { |
||
| 23 | /** |
||
| 24 | * Filter null. |
||
| 25 | * |
||
| 26 | * @param array<int|string, mixed> $array Array to filter null values from. |
||
| 27 | * @return array<int|string, mixed> |
||
| 28 | */ |
||
| 29 | 16 | public static function filter_null( $array ) { |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Check if value is not null. |
||
| 35 | * |
||
| 36 | * @param mixed $value Value. |
||
| 37 | * @return boolean True if value is not null, false otherwise. |
||
| 38 | */ |
||
| 39 | 16 | private static function is_not_null( $value ) { |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get payment locale. |
||
| 45 | * |
||
| 46 | * @param Payment $payment Payment. |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public static function get_payment_locale( Payment $payment ) { |
||
| 61 |