From 2c3505ee8246445c2662e432a8910d86f467351d Mon Sep 17 00:00:00 2001
From: Daniel Seifert <git@daniel-seifert.com>
Date: Tue, 7 Jan 2025 14:02:27 +0100
Subject: [PATCH] improve code

---
 src/Klicktipp.php | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/Klicktipp.php b/src/Klicktipp.php
index f87e1cb..583b12c 100644
--- a/src/Klicktipp.php
+++ b/src/Klicktipp.php
@@ -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);
         }