Passed
Push — master ( dfc69b...f06f01 )
by Francis
02:31
created

SetupIntentSucceededAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSupportedEventTypes() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FluxSE\PayumStripe\Action\Api\WebhookEvent;
6
7
use Stripe\Event;
8
9
final class SetupIntentSucceededAction extends AbstractPaymentAction
10
{
11
    protected function getSupportedEventTypes(): array
12
    {
13
        return [
14
            Event::SETUP_INTENT_SUCCEEDED,
15
        ];
16
    }
17
}