public static function stripNonInteger(array $array): array {
        $newArray = [];
        foreach ($array as $value) {
            if (!NumberUtil::isInteger($value)) continue;
            $newArray[] = \intval($value);
        }
        return $newArray;
    }