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/UcrmPaymentMethods.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/UcrmPaymentMethods.php b/src/UcrmPaymentMethods.php
index 052cfd3..577e516 100644
--- a/src/UcrmPaymentMethods.php
+++ b/src/UcrmPaymentMethods.php
@@ -3,8 +3,8 @@
 namespace SIPL\UCRM\wFirma;
 
 class UcrmPaymentMethods {
-	protected $api;
-	protected static $definition = [
+	protected \Ubnt\UcrmPluginSdk\Service\UcrmApi $api;
+	protected static array $definition = [
 		'Credit card' => '',
 		'Compensation' => '',
 	];
@@ -21,7 +21,7 @@
 		return self::$definition[$method];
 	}
 
-	function update() {
+	function update(): void {
 		$methods = $this->api->get('/payment-methods');
 		foreach ($methods as $method) {
 			if (isset(self::$definition[$method['name']])) {

--
Gitblit v1.10.0