File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,10 @@ public function onAttach(BlockParentInterface $blockParent);
4343 public function onDetach ();
4444
4545 /**
46+ * @noinspection ReturnTypeCanBeDeclaredInspection
4647 * @return BlockParentInterface
4748 */
48- public function getParent (): BlockParentInterface ;
49+ public function getParent ();
4950
5051 /**
5152 * @param HandlerInterface $markdomHandler
Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ interface ListItemInterface extends BlockParentInterface
1313{
1414
1515 /**
16+ * @noinspection ReturnTypeCanBeDeclaredInspection
1617 * @return ListBlockInterface
1718 */
18- public function getParent (): ListBlockInterface ;
19+ public function getParent ();
1920
2021 /**
2122 * @param ListBlockInterface $listBlock
Original file line number Diff line number Diff line change @@ -30,9 +30,10 @@ interface ContentInterface extends NodeInterface
3030 public function getContentType (): string ;
3131
3232 /**
33+ * @noinspection ReturnTypeCanBeDeclaredInspection
3334 * @return ContentParentInterface
3435 */
35- public function getParent (): ContentParentInterface ;
36+ public function getParent ();
3637
3738 /**
3839 * @return BlockInterface
You can’t perform that action at this time.
0 commit comments