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 20, 2024
1 parent b1f02c1 commit 33c33f9
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 @@ -1574,7 +1574,7 @@ private function existField($field)

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

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

Expand Down

0 comments on commit 33c33f9

Please sign in to comment.