| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public static function payloadAndBodyFormatNotCompatible(string $bodyFormat): self |
||
|
|
|||
| 25 | { |
||
| 26 | return new static( |
||
| 27 | "The body format and the payload are not compatiblePayload must be an array when content-type is application/json, " . |
||
| 28 | "multipart/form-data or application/x-www-form-urlencoded"); |
||
| 29 | } |
||
| 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.