src/WooCommerce/Shop/InvoiceStatusOverviewForm.php
public function getStatusClass($status)
    {
        switch ($status) {
            case static::Status_Success:
                $result = 'success';
                break;
            case static::Status_Info:
                $result = 'info';
                break;
            case static::Status_Warning:
                $result = 'warning';
                break;
            case static::Status_Error:
            default:
                $result = 'error';
                break;
        }
        return $result;
    }
public function getStatusClass($status)
    {
        switch ($status) {
            case static::Status_Success:
                $result = 'success';
                break;
            case static::Status_Info:
                $result = 'info';
                break;
            case static::Status_Warning:
                $result = 'warning';
                break;
            case static::Status_Error:
            default:
                $result = 'error';
                break;
        }
        return $result;
    }
public function getStatusClass ( $ status ) { switch ( $ status ) { case static :: Status_Success : $ result = 'success' ; break ; case static :: Status_Info : $ result = 'info' ; break ; case static :: Status_Warning : $ result = 'warning' ; break ; case static :: Status_Error : default : $ result = 'error' ; break ; } return $ result ; }
Returns a string to use as css class for the current status.

@param int $status

@return string
Returns a string to use as css class for the current status .