digikraaft /
paystack-php
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Digikraaft\Paystack; |
||
| 4 | |||
| 5 | class Integration extends ApiResource |
||
| 6 | { |
||
| 7 | const OBJECT_NAME = 'integration'; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Paystack Documentation Reference. |
||
| 11 | * |
||
| 12 | * @link https://paystack.com/docs/api/#control-panel-fetch-timeout |
||
| 13 | * |
||
| 14 | * @return array|object |
||
| 15 | */ |
||
| 16 | public static function fetchPaymentSessionTimeout() |
||
| 17 | { |
||
| 18 | $url = static::endPointUrl('payment_session_timeout'); |
||
| 19 | |||
| 20 | return static::staticRequest('GET', $url); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $params the time before stopping session (in seconds). Set to 0 to cancel session timeouts |
||
|
0 ignored issues
–
show
|
|||
| 25 | * Paystack Documentation Reference |
||
| 26 | * |
||
| 27 | * @link https://paystack.com/docs/api/#control-panel-update-timeout |
||
| 28 | * |
||
| 29 | * @return array|object |
||
| 30 | */ |
||
| 31 | public static function updatePaymentSessionTimeout($params) |
||
| 32 | { |
||
| 33 | self::validateParams($params); |
||
| 34 | $url = static::endPointUrl('payment_session_timeout'); |
||
| 35 | |||
| 36 | return static::staticRequest('PUT', $url); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
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