Skip to content

Commit b9e3ad4

Browse files
author
Martin Brecht-Precht
committed
Modified the class constants of the BlockParent and ContentParent interfaces.
1 parent 080c80d commit b9e3ad4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Block/BlockParentInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
interface BlockParentInterface extends NodeInterface
1515
{
1616

17-
const TYPE_DOCUMENT = 'DOCUMENT';
18-
const TYPE_LIST_ITEM = 'LIST_ITEM';
19-
const TYPE_QUOTE = 'QUOTE';
17+
const BLOCK_PARENT_TYPE_DOCUMENT = 'DOCUMENT';
18+
const BLOCK_PARENT_TYPE_LIST_ITEM = 'LIST_ITEM';
19+
const BLOCK_PARENT_TYPE_QUOTE = 'QUOTE';
2020

2121
/**
2222
* @return string

src/Content/ContentParentInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
interface ContentParentInterface extends NodeInterface
1616
{
1717

18-
const TYPE_EMPHASIS = 'EMPHASIS';
19-
const TYPE_HEADING = 'HEADING';
20-
const TYPE_LINK = 'LINK';
21-
const TYPE_PARAGRAPH = 'PARAGRAPH';
18+
const CONTENT_PARENT_TYPE_EMPHASIS = 'EMPHASIS';
19+
const CONTENT_PARENT_TYPE_HEADING = 'HEADING';
20+
const CONTENT_PARENT_TYPE_LINK = 'LINK';
21+
const CONTENT_PARENT_TYPE_PARAGRAPH = 'PARAGRAPH';
2222

2323
/**
2424
* @return BlockInterface

0 commit comments

Comments
 (0)