Skip to content

Commit 26942dd

Browse files
committed
Fix incorrect typing
1 parent 8885ab7 commit 26942dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/FlatbufferBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ public function endObject(): int
927927
if ($vt_voffset === $current_vt_voffset) {
928928
for ($j = Constants::SIZEOF_VOFFSET; $j < $vt_voffset; $j += Constants::SIZEOF_VOFFSET) {
929929
if (
930-
$this->bb->getVOffset(Constants::asVOffset($vt_npos + $j)) !==
931-
$this->bb->getVOffset(Constants::asVOffset($current_vt_npos + $j))
930+
$this->bb->getVOffset(Constants::asNPos($vt_npos + $j)) !==
931+
$this->bb->getVOffset(Constants::asNPos($current_vt_npos + $j))
932932
) {
933933
continue 2;
934934
}

0 commit comments

Comments
 (0)