| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class successfulPayment extends types { |
||
|
|
|||
| 11 | /** Keep all properties which has sub properties */ |
||
| 12 | private const subs = ['order_info' => 'BPT\types\orderInfo']; |
||
| 13 | |||
| 14 | /** Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars */ |
||
| 15 | public string $currency; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ |
||
| 19 | * 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the |
||
| 20 | * decimal point for each currency (2 for the majority of currencies). |
||
| 21 | */ |
||
| 22 | public int $total_amount; |
||
| 23 | |||
| 24 | /** Bot specified invoice payload */ |
||
| 25 | public string $invoice_payload; |
||
| 26 | |||
| 27 | /** Optional. Identifier of the shipping option chosen by the user */ |
||
| 28 | public null|string $shipping_option_id = null; |
||
| 29 | |||
| 30 | /** Optional. Order information provided by the user */ |
||
| 31 | public null|orderInfo $order_info = null; |
||
| 32 | |||
| 33 | /** Telegram payment identifier */ |
||
| 34 | public string $telegram_payment_charge_id; |
||
| 35 | |||
| 36 | /** Provider payment identifier */ |
||
| 37 | public string $provider_payment_charge_id; |
||
| 38 | |||
| 39 | |||
| 40 | public function __construct(stdClass|null $object = null) { |
||
| 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