File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function testInsertTwoRootsInOneFlush(): void
57
57
$ expected [$ i ],
58
58
[
59
59
$ a ->getId (),
60
- $ a ->getParent ()?-> getId(),
60
+ $ a ->getParent () ? $ a -> getParent ()-> getId () : null ,
61
61
$ a ->getLeft (),
62
62
$ a ->getLevel (),
63
63
$ a ->getRight (),
@@ -93,7 +93,7 @@ public function testInsertTwoRootsInOneFlushRootsFirst(): void
93
93
$ expected [$ i ],
94
94
[
95
95
$ a ->getId (),
96
- $ a ->getParent ()?-> getId(),
96
+ $ a ->getParent () ? $ a -> getParent ()-> getId () : null ,
97
97
$ a ->getLeft (),
98
98
$ a ->getLevel (),
99
99
$ a ->getRight (),
@@ -130,7 +130,7 @@ public function testInsertTwoRootsInTwoFlushes(): void
130
130
$ expected [$ i ],
131
131
[
132
132
$ a ->getId (),
133
- $ a ->getParent ()?-> getId(),
133
+ $ a ->getParent () ? $ a -> getParent ()-> getId () : null ,
134
134
$ a ->getLeft (),
135
135
$ a ->getLevel (),
136
136
$ a ->getRight (),
You can’t perform that action at this time.
0 commit comments