Completed
Push — master ( 7d9b81...ed1eff )
by Adam
09:05
created

Text::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace BestServedCold\PhalueObjects\Format\Xml\Node;
4
5
class Text implements NodeInterface
0 ignored issues
show
Coding Style introduced by
Text does not seem to conform to the naming convention (Utils?$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
6
{
7
8
    public static function run($node)
9
    {
10
        return trim($node->textContent);
11
    }
12
}
13