| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class chatShared extends types { |
||
|
|
|||
| 13 | /** Keep all of properties which has sub properties */ |
||
| 14 | private const subs = []; |
||
| 15 | |||
| 16 | /** Identifier of the request */ |
||
| 17 | public int $request_id; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Identifier of the shared chat. This number may have more than 32 significant bits and some programming |
||
| 21 | * languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a |
||
| 22 | * 64-bit integer or double-precision float type are safe for storing this identifier. The bot may not have |
||
| 23 | * access to the chat and could be unable to use this identifier, unless the chat is already known to the bot by |
||
| 24 | * some other means. |
||
| 25 | */ |
||
| 26 | public int $chat_id; |
||
| 27 | |||
| 28 | |||
| 29 | public function __construct(stdClass|null $object = null) { |
||
| 30 | if ($object != null) { |
||
| 31 | parent::__construct($object, self::subs); |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get shared chat info by using getChat method |
||
| 37 | * |
||
| 38 | * @param bool|null $answer |
||
| 39 | * |
||
| 40 | * @return responseError|chat |
||
| 41 | */ |
||
| 42 | public function getInfo (bool $answer = null): responseError|chat { |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
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