File tree Expand file tree Collapse file tree 3 files changed +36
-36
lines changed
Expand file tree Collapse file tree 3 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " markdom/model-interface" ,
3- "type" : " library" ,
4- "description" : " Markdom domain model interfaces written in PHP" ,
5- "keywords" : [
6- " Markdom" ,
7- " Model" ,
8- " Interface"
9- ],
10- "homepage" : " http://markenwerk.net/" ,
11- "license" : " MIT" ,
12- "authors" : [
13- {
14- "name" : " Martin Brecht-Precht" ,
15- "email" : " mb@markenwerk.net" ,
16- "homepage" : " http://markenwerk.net"
17- }
18- ],
19- "autoload" : {
20- "psr-4" : {
21- "Markdom\\ ModelInterface\\ " : " src"
22- }
23- },
24- "require" : {
25- "php" : " >=5.3 " ,
26- "markdom/handler-interface" : " ^1.0.10 "
27- }
2+ "name" : " markdom/model-interface" ,
3+ "type" : " library" ,
4+ "description" : " Markdom domain model interfaces written in PHP" ,
5+ "keywords" : [
6+ " Markdom" ,
7+ " Model" ,
8+ " Interface"
9+ ],
10+ "homepage" : " http://markenwerk.net/" ,
11+ "license" : " MIT" ,
12+ "authors" : [
13+ {
14+ "name" : " Martin Brecht-Precht" ,
15+ "email" : " mb@markenwerk.net" ,
16+ "homepage" : " http://markenwerk.net"
17+ }
18+ ],
19+ "autoload" : {
20+ "psr-4" : {
21+ "Markdom\\ ModelInterface\\ " : " src"
22+ }
23+ },
24+ "require" : {
25+ "php" : " ^7.1 " ,
26+ "markdom/handler-interface" : " ^1.1.0 "
27+ }
2828}
Original file line number Diff line number Diff line change 1414interface BlockParentInterface extends NodeInterface
1515{
1616
17- const BLOCK_PARENT_TYPE_DOCUMENT = 'DOCUMENT ' ;
18- const BLOCK_PARENT_TYPE_LIST_ITEM = 'LIST_ITEM ' ;
19- const BLOCK_PARENT_TYPE_QUOTE = 'QUOTE ' ;
17+ public const BLOCK_PARENT_TYPE_DOCUMENT = 'DOCUMENT ' ;
18+ public const BLOCK_PARENT_TYPE_LIST_ITEM = 'LIST_ITEM ' ;
19+ public const BLOCK_PARENT_TYPE_QUOTE = 'QUOTE ' ;
2020
2121 /**
2222 * @return string
2323 */
24- public function getBlockParentType ();
24+ public function getBlockParentType (): string ;
2525
2626 /**
2727 * @return BlockSequenceInterface
Original file line number Diff line number Diff line change 1515interface ContentParentInterface extends NodeInterface
1616{
1717
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 ' ;
18+ public const CONTENT_PARENT_TYPE_EMPHASIS = 'EMPHASIS ' ;
19+ public const CONTENT_PARENT_TYPE_HEADING = 'HEADING ' ;
20+ public const CONTENT_PARENT_TYPE_LINK = 'LINK ' ;
21+ public const CONTENT_PARENT_TYPE_PARAGRAPH = 'PARAGRAPH ' ;
2222
2323 /**
2424 * @return string
2525 */
26- public function getContentParentType ();
26+ public function getContentParentType (): string ;
2727
2828 /**
2929 * @return BlockInterface
3030 */
31- public function getBlock (): ContentParentBlockInterface ;
31+ public function getBlock (): BlockInterface ;
3232
3333 /**
3434 * @return ContentSequenceInterface
You can’t perform that action at this time.
0 commit comments