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.

PublishMessageResultDTO   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 28
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getMessageIds() 0 4 1
A setMessageIds() 0 6 1
1
<?php
2
3
namespace Ozean12\GooglePubSubBundle\DTO;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class PublishMessageResultDTO
9
 */
10
class PublishMessageResultDTO
11
{
12
    /**
13
     * @var string[]
14
     * @Serializer\Type("array<string>")
15
     * @Serializer\SerializedName("messageIds")
16
     */
17
    private $messageIds;
18
19
    /**
20
     * @return string[]
21
     */
22
    public function getMessageIds()
23
    {
24
        return $this->messageIds;
25
    }
26
27
    /**
28
     * @param string[] $messageIds
29
     * @return PublishMessageResultDTO
30
     */
31
    public function setMessageIds(array $messageIds)
32
    {
33
        $this->messageIds = $messageIds;
34
35
        return $this;
36
    }
37
}
38