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.

BaseSolution   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 15
c 1
b 0
f 0
dl 0
loc 50
rs 10
wmc 8

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getSolutionDescription() 0 3 1
A setSolutionDescription() 0 5 1
A getDocumentationLinks() 0 3 1
A getSolutionTitle() 0 3 1
A setSolutionTitle() 0 5 1
A __construct() 0 3 1
A create() 0 3 1
A setDocumentationLinks() 0 5 1
1
<?php
2
3
namespace Facade\IgnitionContracts;
4
5
class BaseSolution implements Solution
6
{
7
    protected $title;
8
    protected $description;
9
    protected $links = [];
10
11
    public static function create(string $title)
12
    {
13
        return new static($title);
14
    }
15
16
    public function __construct(string $title)
17
    {
18
        $this->title = $title;
19
    }
20
21
    public function getSolutionTitle(): string
22
    {
23
        return $this->title;
24
    }
25
26
    public function setSolutionTitle(string $title): self
27
    {
28
        $this->title = $title;
29
30
        return $this;
31
    }
32
33
    public function getSolutionDescription(): string
34
    {
35
        return $this->description;
36
    }
37
38
    public function setSolutionDescription(string $description): self
39
    {
40
        $this->description = $description;
41
42
        return $this;
43
    }
44
45
    public function getDocumentationLinks(): array
46
    {
47
        return $this->links;
48
    }
49
50
    public function setDocumentationLinks(array $links): self
51
    {
52
        $this->links = $links;
53
54
        return $this;
55
    }
56
}
57