Skip to content

Commit

Permalink
Merge pull request #138 from BartHeyrman/patch-2
Browse files Browse the repository at this point in the history
new reader README.md
  • Loading branch information
sabas authored Aug 21, 2024
2 parents 897b977 + b1cdc90 commit 8e0197a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $groups = $reader->groupsExtract('INV');

foreach ($groups as $record) {
$parser->loadArray($record, false);
$r = EDI\Reader($parser);
$r = new EDI\Reader($parser);
$records[] = [
'storageLocation' => $r->readEdiDataValue(['LOC', ['2.0' => 'YA']], 2, 3),
'bookingDate' => $r->readEdiSegmentDTM(179),
Expand Down

0 comments on commit 8e0197a

Please # to comment.