| 1 | <?php |
||
| 6 | trait LanguageVariantSerializerTrait { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @param mixed $model |
||
| 10 | * @param array $fields |
||
| 11 | */ |
||
| 12 | public function getAttributes($model, array $fields = null) { |
||
| 21 | |||
| 22 | /** |
||
| 23 | */ |
||
| 24 | public function getFields() { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param mixed $model |
||
| 30 | */ |
||
| 31 | public function getId($model) { |
||
| 34 | |||
| 35 | /** |
||
| 36 | */ |
||
| 37 | public function getSortFields() { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param mixed $model |
||
| 43 | */ |
||
| 44 | public function getType($model) { |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param mixed $model |
||
| 50 | * @param mixed $data |
||
| 51 | */ |
||
| 52 | public function hydrate($model, $data) { |
||
| 56 | } |
||
| 57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.