Passed
Push — master ( f8375c...888862 )
by Anton
01:53
created

NullLocator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEntities() 0 3 1
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license   MIT
7
 * @author    Anton Titov (Wolfy-J)
8
 */
9
10
namespace Spiral\Cycle\Schema;
11
12
class NullLocator implements LocatorInterface
13
{
14
    /**
15
     * @inheritdoc
16
     */
17
    public function getEntities(): array
18
    {
19
        return [];
20
    }
21
}