| 1 | <?php |
||
| 10 | final class ImageClient |
||
| 11 | { |
||
| 12 | const BASE_URL = 'https://image.izettle.com/organizations/%s'; |
||
| 13 | const POST_IMAGE = self::BASE_URL . '/products'; |
||
| 14 | |||
| 15 | private $client; |
||
| 16 | |||
| 17 | public function __construct(IzettleClientInterface $client) |
||
| 21 | |||
| 22 | public function postImage(ImageUploadRequestInterface $imageUploadRequest): void |
||
| 25 | } |
||
| 26 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.