GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

TransitPathDto   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setEdges() 0 4 1
A getEdges() 0 4 1
1
<?php
2
/*
3
 * This file is part of the prooph/php-ddd-cargo-sample.
4
 * (c) Alexander Miertsch <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 * 
9
 * Date: 29.03.14 - 18:55
10
 */
11
declare(strict_types = 1);
12
13
namespace Codeliner\GraphTraversalBackend\Dto;
14
15
/**
16
 * Class TransitPathDto
17
 *
18
 * @package Codeliner\GraphTraversalService\Dto
19
 * @author Alexander Miertsch <[email protected]>
20
 */
21
class TransitPathDto
22
{
23
    /**
24
     * @var EdgeDto[]
25
     */
26
    private $edges;
27
28
    /**
29
     * @param EdgeDto[] $edges
30
     */
31
    public function setEdges(array $edges)
32
    {
33
        $this->edges = $edges;
34
    }
35
36
    /**
37
     * @return EdgeDto[]
38
     */
39
    public function getEdges(): array
40
    {
41
        return $this->edges;
42
    }
43
}
44