Passed
Pull Request — master (#54)
by Rafael
07:14
created

PaymentsController::handleCustomerSubscriptionTrialwillend()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 21
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 12

Importance

Changes 0
Metric Value
cc 3
eloc 13
nc 3
nop 1
dl 0
loc 21
ccs 0
cts 18
cp 0
crap 12
rs 9.8333
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gewaer\Api\Controllers;
6
7
use Gewaer\Traits\StripeWebhookHandlersTrait;
8
9
/**
10
 * Class PaymentsController
11
 *
12
 * Class to handle payment webhook from our cashier library
13
 *
14
 * @package Gewaer\Api\Controllers
15
 * @property Log $log
16
 *
17
 */
18
class PaymentsController extends BaseController
19
{
20
    /**
21
     * Stripe Webhook Handlers
22
     */
23
    use StripeWebhookHandlersTrait;
0 ignored issues
show
introduced by
The trait Gewaer\Traits\StripeWebhookHandlersTrait requires some properties which are not provided by Gewaer\Api\Controllers\PaymentsController: $subscriptions, $email
Loading history...
24
}
25