improve code
Cette révision appartient à :
Parent
9b14bf8235
révision
2c3505ee82
@ -27,23 +27,16 @@ use GuzzleHttp\ClientInterface;
|
||||
|
||||
class Klicktipp
|
||||
{
|
||||
protected string $client_key;
|
||||
|
||||
protected string $secret_key;
|
||||
|
||||
protected ?Connection $connection = null;
|
||||
|
||||
/**
|
||||
* @throws BaseException
|
||||
*/
|
||||
public function __construct(
|
||||
string $client_key,
|
||||
string $secret_key,
|
||||
protected string $client_key,
|
||||
protected string $secret_key,
|
||||
ClientInterface $client = null
|
||||
) {
|
||||
$this->client_key = $client_key;
|
||||
$this->secret_key = $secret_key;
|
||||
|
||||
if ($client) {
|
||||
$this->getConnection()->setClient($client);
|
||||
}
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur