1 | <?php |
||
12 | class VCard implements ProtocolImplementationInterface |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * vCard to. |
||
17 | * |
||
18 | * @var string|null |
||
19 | */ |
||
20 | protected $to; |
||
21 | |||
22 | |||
23 | /** |
||
24 | * user firstname. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $firstname; |
||
29 | |||
30 | /** |
||
31 | * user lastname. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $lastname; |
||
36 | |||
37 | protected $jabberid; |
||
38 | |||
39 | protected $mime; |
||
40 | |||
41 | protected $image; |
||
42 | |||
43 | protected $ulr; |
||
44 | |||
45 | /** |
||
46 | * Constructor. |
||
47 | * |
||
48 | * @param integer $priority |
||
|
|||
49 | * @param string $to |
||
50 | * @param string $nickname |
||
51 | */ |
||
52 | public function __construct($firstname = null, $lastname = null, $jabberid = null) |
||
58 | |||
59 | /** |
||
60 | * {@inheritDoc} |
||
61 | */ |
||
62 | public function toString() |
||
96 | |||
97 | /** |
||
98 | * Get nickname. |
||
99 | * |
||
100 | * @return string |
||
101 | */ |
||
102 | public function getFirstname() |
||
106 | |||
107 | /** |
||
108 | * Set nickname. |
||
109 | * |
||
110 | * @param string $nickname |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setFirstname($firstname) |
||
118 | |||
119 | /** |
||
120 | * Get nickname. |
||
121 | * |
||
122 | * @return string |
||
123 | */ |
||
124 | public function getLastname() |
||
128 | |||
129 | /** |
||
130 | * Set nickname. |
||
131 | * |
||
132 | * @param string $nickname |
||
133 | * @return $this |
||
134 | */ |
||
135 | public function setLastname($lastname) |
||
140 | |||
141 | /** |
||
142 | * Get JabberID. |
||
143 | * |
||
144 | * @return string |
||
145 | */ |
||
146 | public function getJabberID() |
||
150 | |||
151 | /** |
||
152 | * Set abberID. |
||
153 | * |
||
154 | * @param string $nickname |
||
155 | * @return $this |
||
156 | */ |
||
157 | public function setJabberID($jabberid) |
||
162 | |||
163 | /** |
||
164 | * Get mime. |
||
165 | * |
||
166 | * @return string |
||
167 | */ |
||
168 | public function getMime() |
||
172 | |||
173 | /** |
||
174 | * Set mime. |
||
175 | * |
||
176 | * @param string $mime |
||
177 | * @return $this |
||
178 | */ |
||
179 | public function setMime($mime) |
||
184 | |||
185 | /** |
||
186 | * Get image. |
||
187 | * |
||
188 | * @return string |
||
189 | */ |
||
190 | public function getImage() |
||
194 | |||
195 | /** |
||
196 | * Set image. |
||
197 | * |
||
198 | * @param string $image base64 |
||
199 | * @return $this |
||
200 | */ |
||
201 | public function setImage($image) |
||
206 | |||
207 | /** |
||
208 | * Get url. |
||
209 | * |
||
210 | * @return string |
||
211 | */ |
||
212 | public function getUrl() |
||
216 | |||
217 | /** |
||
218 | * Set url. |
||
219 | * |
||
220 | * @param string $image base64 |
||
221 | * @return $this |
||
222 | */ |
||
223 | public function setUrl($url) |
||
228 | } |
||
229 |
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 methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.