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