| 1 | <?php |
||
| 6 | trait RegionAreaSerializerTrait { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @param mixed $model |
||
| 10 | * @param array $fields |
||
| 11 | */ |
||
| 12 | public function getAttributes($model, array $fields = null) { |
||
| 18 | |||
| 19 | /** |
||
| 20 | */ |
||
| 21 | public function getFields() { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed $model |
||
| 27 | */ |
||
| 28 | public function getId($model) { |
||
| 31 | |||
| 32 | /** |
||
| 33 | */ |
||
| 34 | public function getSortFields() { |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param mixed $model |
||
| 40 | */ |
||
| 41 | public function getType($model) { |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $model |
||
| 47 | * @param mixed $data |
||
| 48 | */ |
||
| 49 | public function hydrate($model, $data) { |
||
| 53 | } |
||
| 54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.