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