Skip to content

Commit

Permalink
changes for GTFS-RT
Browse files Browse the repository at this point in the history
  • Loading branch information
maciek-szn authored Sep 30, 2023
1 parent 75fdf01 commit 9304e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Google/Protobuf/Internal/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ private function existField($field)

$values = $this->$getter();

if (($field->getName() === 'incrementality' || $field->getName() === 'direction_id' || $field->getName() === 'route_id' || ($field->getName() === 'delay' && $field->getNumber() === 1)) && $values !== null) {
if (($field->getName() === 'incrementality' || ($field->getName() === 'delay' && $field->getNumber() === 1)) && $values !== null) {
return true;
}

Expand Down

0 comments on commit 9304e91

Please sign in to comment.