| Total Complexity | 3 | 
| Total Lines | 16 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 14 | class GetCurrentState extends TdFunction | ||
| 15 | { | ||
| 16 | public const TYPE_NAME = 'getCurrentState'; | ||
| 17 | |||
| 18 | public function __construct() | ||
| 19 |     { | ||
| 20 | } | ||
| 21 | |||
| 22 | public static function fromArray(array $array): GetCurrentState | ||
|  | |||
| 23 |     { | ||
| 24 | return new static(); | ||
| 25 | } | ||
| 26 | |||
| 27 | public function typeSerialize(): array | ||
| 30 | } | ||
| 31 | } | ||
| 32 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.