From 7d5b7793325cd702332727408d274bc21fa8f31c Mon Sep 17 00:00:00 2001 From: Stefano Date: Mon, 7 Oct 2024 11:20:37 +0200 Subject: [PATCH] static --- src/Generator/Base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Generator/Base.php b/src/Generator/Base.php index f5467a2..35829c7 100755 --- a/src/Generator/Base.php +++ b/src/Generator/Base.php @@ -161,7 +161,7 @@ protected function isAllowed($value, $array, $errorMessage = null) * * @return array|bool */ - protected function addRFFSegment($functionCode, $identifier) + protected static function addRFFSegment($functionCode, $identifier) { if (empty($identifier)) { return false; @@ -185,7 +185,7 @@ protected function addRFFSegment($functionCode, $identifier) * @throws EdifactException * @see http://www.unece.org/trade/untdid/d96a/trsd/trsddtm.htm */ - protected function addDTMSegment($date, $type, $formatQualifier = EdifactDate::DATE) + protected static function addDTMSegment($date, $type, $formatQualifier = EdifactDate::DATE) { $data = []; $data[] = (string) $type;