Skip to content

Commit

Permalink
static
Browse files Browse the repository at this point in the history
  • Loading branch information
sabas authored Oct 7, 2024
1 parent 6e26ae3 commit 7d5b779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Generator/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 7d5b779

Please sign in to comment.