Ignore:
Timestamp:
2014/08/27 18:45:58 (10 years ago)
Author:
kimoto
Message:

#2448 typo修正・ソース整形・ソースコメントの改善 for 2.13.3

Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
 https://scrutinizer-ci.com/g/nobuhiko/EC-CUBE/inspections/d8722894-69a6-4b1b-898d-43618035c60d

Enabled analysis tools:

  • PHP Analyzer
  • PHP PDepend
  • PHP Similarity Analyzer
  • PHP Change Tracking Analyzer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_TaxRule.php

    r23546 r23605  
    3939     * @param int $pref_id 都道府県ID 
    4040     * @param int $country_id 国ID 
    41      * @return int 税金付与した金額 
     41     * @return double 税金付与した金額 
    4242     */ 
    4343    public static function sfCalcIncTax($price, $product_id = 0, $product_class_id = 0, $pref_id =0, $country_id = 0) 
     
    5454     * @param int $pref_id 都道府県ID 
    5555     * @param int $country_id 国ID 
    56      * @return int 税金付与した金額 
     56     * @return double 税金付与した金額 
    5757     */ 
    5858    public static function sfTax($price, $product_id = 0, $product_class_id = 0, $pref_id =0, $country_id = 0) 
     
    6969     * @param int $price 計算対象の金額 
    7070     * @param int $tax_rule_id 税規約ID 
    71      * @return int 税金付与した金額 
     71     * @return double 税金付与した金額 
    7272     */ 
    7373    public static function calcIncTaxFromRuleId($price, $tax_rule_id = 0) 
     
    8282     * @param int $price 計算対象の金額 
    8383     * @param int $tax_rule_id 税規約ID 
    84      * @return int 税金付与した金額 
     84     * @return double 税金付与した金額 
    8585     */ 
    8686    public static function calcTaxFromRuleId($price, $tax_rule_id = 0) 
     
    9999     * @param int $calc_rule 端数処理 
    100100     * @param int $tax_adjust 調整額 
    101      * @return int 税金額 
     101     * @return double 税金額 
    102102     */ 
    103103    public static function calcTax ($price, $tax, $calc_rule, $tax_adjust = 0) 
     
    117117     * @param int $pref_id 都道府県ID 
    118118     * @param int $country_id 国ID 
    119      * @return array 税設定情報 
     119     * @return integer 税設定情報 
    120120     */ 
    121121    public static function getTaxRule($product_id = 0, $product_class_id = 0, $pref_id = 0, $country_id = 0) 
     
    229229     * @param int $product_id 商品ID 
    230230     * @param int $product_class_id 商品規格ID 
    231      * @param float|int $tax_adjust 消費税加算額 
     231     * @param integer $tax_adjust 消費税加算額 
    232232     * @param int $pref_id 県ID 
    233233     * @param int $country_id 国ID 
     
    255255     * @param int $calc_rule 端数処理 
    256256     * @param int $tax_rate 税率 
    257      * @param int|string $apply_date 適用日時 
    258      * @param null $tax_rule_id 税規約ID 
     257     * @param string $apply_date 適用日時 
     258     * @param null|integer $tax_rule_id 税規約ID 
    259259     * @param int $tax_adjust 調整額 
    260260     * @param int $product_id 商品ID 
     
    339339 
    340340    /** 
    341      * @param int|string $apply_date 
     341     * @param string $apply_date 
    342342     * @param bool $has_deleted 
    343343     * @return mixed 
     
    377377     * @param float|integer $value 端数処理を行う数値 
    378378     * @param integer $calc_rule 課税規則 
    379      * @return integer 端数処理後の数値 
     379     * @return double 端数処理後の数値 
    380380     */ 
    381381    public static function roundByCalcRule($value, $calc_rule) 
Note: See TracChangeset for help on using the changeset viewer.