Test Failed
Push — master ( 7c4720...fd955c )
by Lyal
04:00 queued 14s
created

AdverseItem   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 21
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 1
1
<?php
2
namespace Lyal\Checkr\Entities\Resources;
3
4
5
use Lyal\Checkr\Traits\Listable;
6
7
class AdverseItem extends AbstractResource
8
{
9
    use Listable;
10
11
    /**
12
     * AdverseItem constructor.
13
     * @param null $values
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $values is correct as it would always require null to be passed?
Loading history...
Documentation Bug introduced by
Are you sure the doc-type for parameter $client is correct as it would always require null to be passed?
Loading history...
14
     * @param null $client
15
     */
16
17
    public function __construct($values = NULL, $client = NULL)
18
    {
19
        $this->setFields([
20
            'id',
21
            'object',
22
            'text'
23
        ]);
24
25
        $this->setListPath('reports/:report_id/adverse_items');
26
27
        parent::__construct($values, $client);
28
29
30
    }
31
}