Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — master (#413)
by Vincent
23:10
created

Edge   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 46
rs 10
c 0
b 0
f 0
ccs 4
cts 4
cp 1

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getNode() 0 4 1
A setNode() 0 4 1
A getCursor() 0 4 1
A setCursor() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Relay\Connection\Output;
6
7
use Overblog\GraphQLBundle\Relay\Connection\EdgeInterface;
8
9
class Edge implements EdgeInterface
10
{
11
    /** @var string */
12
    protected $cursor;
13
14
    /** @var mixed */
15 52
    protected $node;
16
17 52
    public function __construct(string $cursor = null, $node = null)
18 52
    {
19 52
        $this->cursor = $cursor;
20
        $this->node = $node;
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function getNode()
27
    {
28
        return $this->node;
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function setNode($node): void
35
    {
36
        $this->node = $node;
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function getCursor(): ? string
43
    {
44
        return $this->cursor;
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function setCursor(string $cursor): void
51
    {
52
        $this->cursor = $cursor;
53
    }
54
}
55