Sender   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 30
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getHtmlUrl() 0 3 1
A getLogin() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Quantum\Hub\Entity;
6
7
/**
8
 * @class Sender
9
 * @package Quantum\Hub\Entity
10
 */
11
class Sender extends BaseEntity
12
{
13
    /**
14
     * The name of the user who do the push
15
     * @var string
16
     */
17
    protected string $login = '';
18
19
    /**
20
     * The HTML URL of the user profile
21
     * @var string
22
     */
23
    protected string $htmlUrl = '';
24
25
    /**
26
     *
27
     * @return string
28
     */
29
    public function getLogin(): string
30
    {
31
        return $this->login;
32
    }
33
34
    /**
35
     *
36
     * @return string
37
     */
38
    public function getHtmlUrl(): string
39
    {
40
        return $this->htmlUrl;
41
    }
42
}
43