Completed
Push — master ( 27631c...334b35 )
by Siro Díaz
01:30
created

DoublyLinkedListNode::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * DataStructures for PHP
4
 *
5
 * @link      https://github.com/SiroDiaz/DataStructures
6
 * @copyright Copyright (c) 2017 Siro Díaz Palazón
7
 * @license   https://github.com/SiroDiaz/DataStructures/blob/master/README.md (MIT License)
8
 */
9
namespace DataStructures\Lists\Nodes;
10
11
use DataStructures\Lists\Nodes\SimpleLinkedListNode;
12
/**
13
 * DoublyLinkedList represents the node structure that points to 
14
 * the next and previous node.
15
 *
16
 * @author Siro Diaz Palazon <[email protected]>
17
 */
18
class DoublyLinkedListNode extends SimpleLinkedListNode {
19
    public $prev = null;
20
}