AdverseAction::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 1 Features 0
Metric Value
eloc 3
c 3
b 1
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 2
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