Passed
Pull Request — master (#66)
by Michael
02:23
created

HardBreakNode::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by IntelliJ IDEA.
4
 * User: michael
5
 * Date: 1/25/18
6
 * Time: 11:15 AM
7
 */
8
9
namespace dokuwiki\plugin\prosemirror\parser;
10
11
class HardBreakNode extends Node
12
{
13
    /**
14
     * HardBreakNode constructor.
15
     *
16
     * This is just a hard break, it doesn't have attributes or context
17
     *
18
     * @param      $data
19
     * @param Node $parent
20
     */
21
    public function __construct($data, Node $parent)
22
    {
23
    }
24
25
    public function toSyntax()
26
    {
27
        return '\\\\ ';
28
    }
29
}
30