File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function toArray(): array
68
68
$ tbr = parent ::toArray ();
69
69
70
70
$ tbr ['startNodeId ' ] = $ this ->getStartNodeId ();
71
- $ tbr ['endNodeId ' ] = $ this ->getStartNodeId ();
71
+ $ tbr ['endNodeId ' ] = $ this ->getEndNodeId ();
72
72
73
73
return $ tbr ;
74
74
}
Original file line number Diff line number Diff line change @@ -447,9 +447,9 @@ public function testRelationship(string $alias): void
447
447
json_encode ([
448
448
'id ' => $ result ->getId (),
449
449
'type ' => $ result ->getType (),
450
+ 'properties ' => $ result ->getProperties (),
450
451
'startNodeId ' => $ result ->getStartNodeId (),
451
452
'endNodeId ' => $ result ->getEndNodeId (),
452
- 'properties ' => $ result ->getProperties (),
453
453
], JSON_THROW_ON_ERROR ),
454
454
json_encode ($ result , JSON_THROW_ON_ERROR )
455
455
);
You can’t perform that action at this time.
0 commit comments