1 | <?php |
||
14 | class Contact extends ClassStructure { |
||
15 | /** @var string The identifying name of the contact person/organization. */ |
||
16 | public $name; |
||
17 | |||
18 | /** @var string The URL pointing to the contact information. */ |
||
19 | public $url; |
||
20 | |||
21 | /** @var string The email address of the contact person/organization. */ |
||
22 | public $email; |
||
23 | |||
24 | /** |
||
25 | * @param Properties|static $properties |
||
26 | * @param JsonBasicSchema $ownerSchema |
||
27 | */ |
||
28 | public static function setUpProperties($properties, JsonBasicSchema $ownerSchema) |
||
44 | |||
45 | /** |
||
46 | * @param string $name The identifying name of the contact person/organization. |
||
47 | * @return $this |
||
48 | */ |
||
49 | public function setName($name) |
||
54 | |||
55 | /** |
||
56 | * @param string $url The URL pointing to the contact information. |
||
57 | * @return $this |
||
58 | */ |
||
59 | public function setUrl($url) |
||
64 | |||
65 | /** |
||
66 | * @param string $email The email address of the contact person/organization. |
||
67 | * @return $this |
||
68 | */ |
||
69 | public function setEmail($email) |
||
74 | } |
||
75 | |||
76 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..