HruleNode   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 17
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A toSyntax() 0 3 1
1
<?php
2
3
namespace dokuwiki\plugin\prosemirror\parser;
4
5
class HruleNode extends Node
6
{
7
    public function toSyntax()
8
    {
9
        return '----';
10
    }
11
12
    /**
13
     * HruleNode constructor.
14
     *
15
     * This is just a horizontal rule, it doesn't have attributes or context
16
     *
17
     * @param      $data
18
     * @param Node $parent
19
     */
20
    public function __construct($data, Node $parent)
21
    {
22
    }
23
}
24