| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class DiscussConversationValidator |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Get a validator for an incoming update request. |
||
| 16 | * |
||
| 17 | * @param array $data The data to validate. |
||
| 18 | * @param int $id The actual article id to ignore the slug rule. |
||
| 19 | * |
||
| 20 | * @return Validator |
||
| 21 | */ |
||
| 22 | public static function update(array $data, int $id): Validator |
||
| 38 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.