Skip to content

Commit 1a47132

Browse files
Add COLLECTION_TYPE as supported constant when generating relation block (#20)
1 parent 75afcb5 commit 1a47132

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PhpFileRenderer/Item/RelationBlock.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class RelationBlock extends ArrayBlock
1414
* @see SchemaInterface
1515
*/
1616
private const RELATION_SCHEMA_KEYS = [
17+
'COLLECTION_TYPE',
1718
'MORPH_KEY',
1819
'CASCADE',
1920
'NULLABLE',

0 commit comments

Comments
 (0)