Passed
Pull Request — master (#54)
by Rafael
05:35
created

PaymentsController::handleChargeDisputeCreated()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gewaer\Api\Controllers;
6
7
use Phalcon\Cashier\Traits\StripeWebhookHandlersTrait;
8
use Phalcon\Http\Response;
9
use Gewaer\Models\Users;
10
11
/**
12
 * Class PaymentsController
13
 *
14
 * Class to handle payment webhook from our cashier library
15
 *
16
 * @package Gewaer\Api\Controllers
17
 * @property Log $log
18
 *
19
 */
20
class PaymentsController extends BaseController
21
{
22
23
    /**
24
     * Stripe Webhook Handlers
25
     */
26
    use StripeWebhookHandlersTrait;
27
}
28