@@ -34,8 +34,8 @@ |
||
| 34 | 34 | self::$items = null; |
| 35 | 35 | return $ret; |
| 36 | 36 | } |
| 37 | - private static function putDropUp($arr){ |
|
| 38 | - foreach($arr as $k => $v){ |
|
| 37 | + private static function putDropUp($arr) { |
|
| 38 | + foreach ($arr as $k => $v) { |
|
| 39 | 39 | self::$items[$k] = $v; |
| 40 | 40 | } |
| 41 | 41 | var_dump(self::$items); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | private function calc_rate($item_list, $items, $rate) |
| 18 | 18 | { |
| 19 | - $item=[]; |
|
| 19 | + $item = []; |
|
| 20 | 20 | if (is_array($items)) |
| 21 | 21 | { |
| 22 | 22 | foreach ($items as $itm) |