Skip to content

Commit 0707b34

Browse files
committed
WIP
1 parent 8956777 commit 0707b34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Operation.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ public function getReturnType(): ?Type
267267
return new PrimitiveType($returnType);
268268
}
269269

270+
if (is_a($returnType, ComplexValue::class, true)) {
271+
return null;
272+
}
273+
270274
return Type::fromInternalType($returnType);
271275
}
272276

0 commit comments

Comments
 (0)