Completed
Push — master ( a17ed1...ce9e82 )
by Yann
7s
created

ContactDetails::setOther()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Genkgo\Camt\DTO;
4
5
class ContactDetails
6
{
7
    /**
8
     * @var string|null
9
     */
10
    private $namePrefix;
11
12
    /**
13
     * @var string|null
14
     */
15
    private $name;
16
17
    /**
18
     * @var string|null
19
     */
20
    private $phoneNumber;
21
22
    /**
23
     * @var string|null
24
     */
25
    private $mobileNumber;
26
27
    /**
28
     * @var string|null
29
     */
30
    private $faxNumber;
31
32
    /**
33
     * @var string|null
34
     */
35
    private $emailAddress;
36
37
    /**
38
     * @var string|null
39
     */
40
    private $other;
41
42
    /**
43
     * @return string|null
44
     */
45
    public function getNamePrefix()
46
    {
47
        return $this->namePrefix;
48
    }
49
    
50
    /**
51
     * @param string $namePrefix
52
     */
53
    public function setNamePrefix($namePrefix)
54
    {
55
        $this->namePrefix = $namePrefix;
56
    }
57
58
    /**
59
     * @return string|null
60
     */
61
    public function getName()
62
    {
63
        return $this->name;
64
    }
65
    
66
    /**
67
     * @param string $name
68
     */
69
    public function setName($name)
70
    {
71
        $this->name = $name;
72
    }
73
74
    /**
75
     * @return string|null
76
     */
77
    public function getPhoneNumber()
78
    {
79
        return $this->phoneNumber;
80
    }
81
    
82
    /**
83
     * @param string $name
0 ignored issues
show
Bug introduced by
There is no parameter named $name. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
84
     */
85
    public function setPhoneNumber($phoneNumber)
86
    {
87
        $this->phoneNumber = $phoneNumber;
88
    }
89
90
    /**
91
     * @return string|null
92
     */
93
    public function getMobileNumber()
94
    {
95
        return $this->mobileNumber;
96
    }
97
    
98
    /**
99
     * @param string $name
0 ignored issues
show
Bug introduced by
There is no parameter named $name. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
100
     */
101
    public function setMobileNumber($mobileNumber)
102
    {
103
        $this->mobileNumber = $mobileNumber;
104
    }
105
106
    /**
107
     * @return string|null
108
     */
109
    public function getFaxNumber()
110
    {
111
        return $this->faxNumber;
112
    }
113
    
114
    /**
115
     * @param string $name
0 ignored issues
show
Bug introduced by
There is no parameter named $name. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
116
     */
117
    public function setFaxNumber($faxNumber)
118
    {
119
        $this->faxNumber = $faxNumber;
120
    }
121
122
    /**
123
     * @return string|null
124
     */
125
    public function getEmailAddress()
126
    {
127
        return $this->emailAddress;
128
    }
129
    
130
    /**
131
     * @param string $name
0 ignored issues
show
Bug introduced by
There is no parameter named $name. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
132
     */
133
    public function setEmailAddress($emailAddress)
134
    {
135
        $this->emailAddress = $emailAddress;
136
    }
137
138
    /**
139
     * @return string|null
140
     */
141
    public function getOther()
142
    {
143
        return $this->other;
144
    }
145
    
146
    /**
147
     * @param string $name
0 ignored issues
show
Bug introduced by
There is no parameter named $name. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
148
     */
149
    public function setOther($other)
150
    {
151
        $this->other = $other;
152
    }
153
}
154