for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace LauLamanApps\IzettleApi\Client;
use LauLamanApps\IzettleApi\Client\Image\ImageUploadRequestInterface;
use LauLamanApps\IzettleApi\IzettleClientInterface;
final class ImageClient
{
const BASE_URL = 'https://image.izettle.com/organizations/%s';
const POST_IMAGE = self::BASE_URL . '/products';
private $client;
public function __construct(IzettleClientInterface $client)
$this->client = $client;
}
public function postImage(ImageUploadRequestInterface $imageUploadRequest): void
$imageUploadRequest
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.