From 095a0a554292acaf84207551a8856ed588339208 Mon Sep 17 00:00:00 2001
From: efalcy <efalcy@afi-sa.fr>
Date: Fri, 3 May 2024 13:01:45 +0000
Subject: [PATCH] fix test from error on merge

---
 library/Class/WebService/SIGB/Nanook/PatronInfoReader.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/library/Class/WebService/SIGB/Nanook/PatronInfoReader.php b/library/Class/WebService/SIGB/Nanook/PatronInfoReader.php
index dbe2b6dd559..5b4d04639cb 100644
--- a/library/Class/WebService/SIGB/Nanook/PatronInfoReader.php
+++ b/library/Class/WebService/SIGB/Nanook/PatronInfoReader.php
@@ -104,16 +104,13 @@ class Class_WebService_SIGB_Nanook_PatronInfoReader
 
   public function endLabel(string $data): self {
     if ($this->_xml_parser->inParents('debt')
-        && $this->_current_debt){
+        && $this->_current_debt)
       $this->_current_debt->setLabel(trim($data));
 
     if ($this->_xml_parser->inParents('sendingChannel')
         && $this->_current_sending_channel)
       $this->_current_sending_channel->setLabel($data);
 
-      return $this;
-    }
-
     if ($this->_xml_parser->inParents('paymentReceiver')
         && $this->_payment_receiver)
       $this->_payment_receiver->label = trim($data);
-- 
GitLab