From 67e4ab9dfca8a5cf647b4204c6534546d029706a Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 17 Mar 2026 09:29:49 +0000
Subject: [PATCH] Rename attribute "KSeF QR Code" to "QR Code Generator URL"
---
src/wFirmaApiFactory.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wFirmaApiFactory.php b/src/wFirmaApiFactory.php
index 1ddcc70..70c1a9a 100644
--- a/src/wFirmaApiFactory.php
+++ b/src/wFirmaApiFactory.php
@@ -3,7 +3,7 @@
namespace SIPL\UCRM\wFirma;
class wFirmaApiFactory {
- protected $ucrmHelper;
+ protected UcrmHelper $ucrmHelper;
function __construct(UcrmHelper $ucrmHelper) {
$this->ucrmHelper = $ucrmHelper;
@@ -11,7 +11,7 @@
function create(): \Webit\WFirmaSDK\Entity\ModuleApiFactory {
$config = $this->ucrmHelper->getConfig();
- $wFirmaAuth = new \Webit\WFirmaSDK\Auth\BasicAuth($config['wfirma_username'], $config['wfirma_password']);
+ $wFirmaAuth = new \Webit\WFirmaSDK\Auth\ApiKeysAuth($config['wfirma_access_key'], $config['wfirma_secret_key'], $config['wfirma_app_key']);
$wFirmaEntityApiFactory = new \Webit\WFirmaSDK\Entity\EntityApiFactory();
$wFirmaEntityApi = $wFirmaEntityApiFactory->create($wFirmaAuth);
--
Gitblit v1.10.0