BookingDelete   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A allowed() 0 5 1
1
<?php
2
3
namespace Resova\Models;
4
5
class BookingDelete
6
{
7
    /**
8
     * List of allowed fields
9
     *
10
     * @codeCoverageIgnore
11
     * @return array
12
     */
13
    public function allowed(): array
14
    {
15
        return [
16
            'id'      => 'int',
17
            'deleted' => 'bool',
18
        ];
19
    }
20
}
21