Passed
Pull Request — 1.11.x (#4160)
by Angel Fernando Quiroz
07:54
created

Ocurrence   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A itemClass() 0 3 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\PluginBundle\Zoom\API;
6
7
use Exception;
8
9
class Ocurrence
10
{
11
    use JsonDeserializableTrait;
12
13
    public $occurrence_id;
14
    public $start_time;
15
    public $duration;
16
    public $status;
17
18
    public function itemClass($propertyName)
19
    {
20
        throw new Exception("No such array property $propertyName");
21
    }
22
}
23