From 628bc1399cf12dbd3e9567146b148d7336131556 Mon Sep 17 00:00:00 2001 From: Edson Nascimento Date: Thu, 2 May 2024 09:39:02 -0300 Subject: [PATCH 1/2] fix: empty url serialize --- src/Rede/Transaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rede/Transaction.php b/src/Rede/Transaction.php index 8e8c5b2..9307a7f 100644 --- a/src/Rede/Transaction.php +++ b/src/Rede/Transaction.php @@ -377,7 +377,7 @@ public function jsonSerialize(): mixed 'origin' => $this->origin, 'distributorAffiliation' => $this->distributorAffiliation, 'storageCard' => $this->storageCard, - 'urls' => $this->urls, + 'urls' => $this->urls ?: null, 'iata' => $this->iata, 'additional' => $this->additional ], From 65c0a63de3dc141cd6c936062fb504cdc989eaca Mon Sep 17 00:00:00 2001 From: Edson Nascimento Date: Mon, 13 Jan 2025 09:02:16 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5c8038c..32511e5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +> [!CAUTION] +> ## Movido para +> # SDK PHP SDK de integração eRede