| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Money |
||
| 16 | { |
||
| 17 | use DefaultOption, Join; |
||
| 18 | |||
| 19 | public function prefix($prefix) { |
||
| 25 | } |
||
| 26 | |||
| 27 | public function precision($precision) { |
||
| 28 | $data = columnSingleton()->getColumn($this->index); |
||
| 29 | /** @var $data MoneyModel */ |
||
| 30 | $data->setPrecision($precision); |
||
| 31 | columnSingleton()->setColumn($this->index, $data); |
||
| 32 | return $this; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function thousandSeparator($separator) { |
||
|
|
|||
| 36 | $data = columnSingleton()->getColumn($this->index); |
||
| 37 | /** @var $data MoneyModel */ |
||
| 38 | $data->setThousands($precision); |
||
| 39 | columnSingleton()->setColumn($this->index, $data); |
||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function decimalSeparator($separator) { |
||
| 49 | } |
||
| 50 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.