Test Failed
Push — master ( 492ea4...9c8472 )
by Bingo
04:47
created

EdgeArraySetFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createEdgeSet() 0 3 1
1
<?php
2
3
namespace Graphp\Edge;
4
5
use Graphp\Vertex\VertexInterface;
6
7
/**
8
 * Class EdgeArraySetFactory
9
 *
10
 * @package Graphp\Edge
11
 */
12
class EdgeArraySetFactory implements EdgeSetFactoryInterface
13
{
14
    /**
15
     * Create a new edge set for a particular vertex
16
     *
17
     * @param VertexInterface $sourceVertex - the vertex for which the edge set is being created
18
     */
19 30
    public function createEdgeSet(VertexInterface $vertex): EdgeSet
20
    {
21 30
        return new EdgeSet();
22
    }
23
}
24