DirectiveDefinitionIsRepeatableNode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of Railt package.
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
declare(strict_types=1);
11
12
namespace Railt\SDL\Frontend\Ast\Definition;
13
14
use Railt\SDL\Frontend\Ast\Node;
15
16
/**
17
 * Class DirectiveDefinitionIsRepeatableNode
18
 */
19
class DirectiveDefinitionIsRepeatableNode extends Node
20
{
21
    /**
22
     * @return static
23
     */
24
    public static function create(): self
25
    {
26
        return new static();
27
    }
28
}
29