| 1 | <?php | ||
| 7 | final class InvalidArgument extends InvalidArgumentException | ||
| 8 | { | ||
| 9 | /** | ||
| 10 | * @return InvalidArgument | ||
| 11 | */ | ||
| 12 | public static function payloadMustBeArray(): InvalidArgument | ||
| 18 | |||
| 19 | /** | ||
| 20 | * @param string $bodyFormat | ||
| 21 | * | ||
| 22 | * @return InvalidArgument | ||
| 23 | */ | ||
| 24 | public static function payloadAndBodyFormatNotCompatible(string $bodyFormat): self | ||
| 30 | } | ||
| 31 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.