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.

LogGroup::setRequestName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace EightPoints\Bundle\GuzzleBundle\Log;
4
5
class LogGroup
6
{
7
    /** @var array */
8
    protected $messages = [];
9
10
    /** @var string */
11
    protected $requestName;
12
13
    /**
14
     * Set Request Name
15
     *
16
     * @param string $value
17
     *
18
     * @return void
19
     */
20
    public function setRequestName(string $value) : void
21
    {
22
        $this->requestName = $value;
23
    }
24
25
    /**
26
     * Get Request Name
27
     *
28
     * @return string
29
     */
30
    public function getRequestName() : ?string
31
    {
32
        return $this->requestName;
33
    }
34
35
    /**
36
     * Set Log Messages
37
     *
38
     * @param array $value
39
     *
40
     * @return void
41
     */
42
    public function setMessages(array $value) : void
43
    {
44
        $this->messages = $value;
45
    }
46
47
    /**
48
     * Add Log Messages
49
     *
50
     * @param array $value
51
     *
52
     * @return void
53
     */
54
    public function addMessages(array $value) : void
55
    {
56
        $this->messages = array_merge($this->messages, $value);
57
    }
58
59
    /**
60
     * Return Log Messages
61
     *
62
     * @return array
63
     */
64
    public function getMessages() : array
65
    {
66
        return $this->messages;
67
    }
68
}
69