Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class shippingQuery extends types { |
||
|
|||
12 | /** Keep all of properties which has sub properties */ |
||
13 | private const subs = ['from' => 'BPT\types\user', 'shipping_address' => 'BPT\types\shippingAddress']; |
||
14 | |||
15 | /** Unique query identifier */ |
||
16 | public string $id; |
||
17 | |||
18 | /** User who sent the query */ |
||
19 | public user $from; |
||
20 | |||
21 | /** Bot specified invoice payload */ |
||
22 | public string $invoice_payload; |
||
23 | |||
24 | /** User specified shipping address */ |
||
25 | public shippingAddress $shipping_address; |
||
26 | |||
27 | |||
28 | public function __construct(stdClass|null $object = null) { |
||
31 | } |
||
32 | } |
||
33 | |||
34 | public function answer (bool $ok, null|array $shipping_options = null, string|null $error_message = null): responseError|bool { |
||
38 |
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