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;