1 | <?php |
||
6 | trait LanguageSerializerTrait { |
||
7 | |||
8 | /** |
||
9 | * @param mixed $model |
||
10 | * @param array $fields |
||
11 | */ |
||
12 | public function getAttributes($model, array $fields = null) { |
||
32 | |||
33 | /** |
||
34 | */ |
||
35 | public function getFields() { |
||
38 | |||
39 | /** |
||
40 | * @param mixed $model |
||
41 | */ |
||
42 | public function getId($model) { |
||
45 | |||
46 | /** |
||
47 | */ |
||
48 | public function getSortFields() { |
||
51 | |||
52 | /** |
||
53 | * @param mixed $model |
||
54 | */ |
||
55 | public function getType($model) { |
||
58 | |||
59 | /** |
||
60 | * @param mixed $model |
||
61 | * @param mixed $data |
||
62 | */ |
||
63 | public function hydrate($model, $data) { |
||
67 | } |
||
68 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.