Completed
Branch feature/pre-split (4c50c1)
by Anton
03:17
created

NullNode::parseRow()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * components
4
 *
5
 * @author    Wolfy-J
6
 */
7
namespace Spiral\ORM\Entities\Nodes;
8
9
/**
10
 * Node used by loaders which do not load any data.
11
 */
12
class NullNode extends AbstractNode
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function parseRow(string $container, int $dataOffset, array $row)
0 ignored issues
show
Unused Code introduced by
The parameter $row is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
18
    {
19
        //Doing nothing
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     */
25
    protected function deduplicate(array &$data): bool
26
    {
27
        //Doing nothing
28
        return false;
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    protected function registerData(string $container, array &$data)
35
    {
36
        //Doing nothing
37
    }
38
}