Skip to content

Commit ee510d9

Browse files
committed
Carriage return added after the comment 'JSON and BLOB not supported' to avoid next property to be wrote inside the comment.
1 parent 5ed0e3a commit ee510d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/GraphQLTypeGenerator.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ private function generateFieldCode(AbstractBeanPropertyDescriptor $descriptor) :
270270
$type = $this->getType($descriptor);
271271

272272
if ($type === null) {
273-
return " // Field $getterName is ignored. Cannot represent a JSON or BLOB field in GraphQL.";
273+
return <<<EOF
274+
// Field $getterName is ignored. Cannot represent a JSON or BLOB field in GraphQL.
275+
276+
EOF;
274277
}
275278

276279
$code = <<<EOF

0 commit comments

Comments
 (0)