Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class contact extends types { |
||
|
|||
13 | /** Keep all of properties which has sub properties */ |
||
14 | private const subs = []; |
||
15 | |||
16 | /** Contact's phone number */ |
||
17 | public string $phone_number; |
||
18 | |||
19 | /** Contact's first name */ |
||
20 | public string $first_name; |
||
21 | |||
22 | /** Optional. Contact's last name */ |
||
23 | public null|string $last_name = null; |
||
24 | |||
25 | /** |
||
26 | * Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some |
||
27 | * programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant |
||
28 | * bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. |
||
29 | */ |
||
30 | public null|int $user_id = null; |
||
31 | |||
32 | /** Optional. Additional data about the contact in the form of a vCard */ |
||
33 | public null|string $vcard = null; |
||
34 | |||
35 | |||
36 | public function __construct(stdClass|null $object = null) { |
||
39 | } |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Check if shared contact is for the sender user (useful for phone auth) |
||
44 | * |
||
45 | * @return bool |
||
46 | */ |
||
47 | public function isUserPhone(): bool { |
||
49 | } |
||
50 | |||
51 | public function fullName (): string { |
||
55 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths