From b7736cfb71f73b036d34995a5540eeb202ce3e19 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 16 Feb 2026 21:31:48 +0000
Subject: [PATCH] Put full URL to public.php in "KSeF QR Code" field
---
src/Synchronizer.php | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/Synchronizer.php b/src/Synchronizer.php
index 7aeda66..58e04f1 100644
--- a/src/Synchronizer.php
+++ b/src/Synchronizer.php
@@ -3,19 +3,27 @@
namespace SIPL\UCRM\wFirma;
abstract class Synchronizer {
- protected $wfirma;
- protected $helper;
+ protected \Webit\WFirmaSDK\Entity\ModuleApiFactory $wfirma;
+ protected UcrmHelper $helper;
function __construct(\Webit\WFirmaSDK\Entity\ModuleApiFactory $wFirmaApi, UcrmHelper $ucrmHelper) {
$this->wfirma = $wFirmaApi;
$this->helper = $ucrmHelper;
}
- public function synchronize(int $entityId) {
+ /**
+ * @param int $entityId
+ * @return bool TRUE if anything was modified, FALSE otherwise
+ */
+ public function synchronize(int $entityId): bool {
return FALSE;
}
- public function delete(array $entity) {
+ /**
+ * @param array $entity
+ * @return bool TRUE if anything was deleted, FALSE otherwise
+ */
+ public function delete(array $entity): bool {
return FALSE;
}
}
--
Gitblit v1.10.0