AdverseAction   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Lyal\Checkr\Entities\Resources;
4
5
use Lyal\Checkr\Client;
6
use Lyal\Checkr\Traits\Creatable;
7
use Lyal\Checkr\Traits\Deleteable;
8
use Lyal\Checkr\Traits\Listable;
9
10
class AdverseAction extends AbstractResource
11
{
12
    use Creatable, Listable, Deleteable;
0 ignored issues
show
introduced by
The trait Lyal\Checkr\Traits\Listable requires some properties which are not provided by Lyal\Checkr\Entities\Resources\AdverseAction: $useCollections, $data
Loading history...
13
14
    /**
15
     * AdverseAction constructor.
16
     *
17
     * @param null|string|array $values
18
     * @param null|Client $client
19
     */
20
    public function __construct($values = null, Client $client = null)
21
    {
22
        $this->setCreatePath('reports/:report_id/adverse_actions');
23
        $this->setDeletePath('reports/:report_id/adverse_actions');
24
25
        parent::__construct($values, $client);
26
    }
27
}
28