Completed
Push — master ( 8ff94d...a4ae02 )
by Mr
02:02
created

PortalSubaccountsList::allowed()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 7
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Bookeo\Models;
4
5
use Bookeo\Model;
6
7
class PortalSubaccountsList extends Model
8
{
9
    /**
10
     * List of allowed fields
11
     *
12
     * @return array
13
     */
14
    public function allowed(): array
15
    {
16
        return [
17
            'info' => 'PaginationInfo',
18
            'data' => 'array[PortalSubaccount]',
19
        ];
20
    }
21
}
22