Addition::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 1
Metric Value
c 3
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * This file is part of the Totem package
4
 *
5
 * For the full copyright and license information, please view the LICENSE file
6
 * that was distributed with this source code.
7
 *
8
 * @copyright Baptiste Clavié <[email protected]>
9
 * @license   http://www.opensource.org/licenses/MIT-License MIT License
10
 */
11
12
namespace Totem\Change;
13
14
use Totem\AbstractChange;
15
16
/**
17
 * Represents something that was added in the original data
18
 *
19
 * @author Baptiste Clavié <[email protected]>
20
 */
21
class Addition extends AbstractChange
22
{
23
    public function __construct($new)
24
    {
25
        parent::__construct(null, $new);
26
    }
27
}
28
29