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

FollowUpUsers   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
dl 0
loc 16
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 FollowUpUsers
10
{
11
    use JsonDeserializableTrait;
12
13
    /**
14
     * @var bool
15
     */
16
    public $enable;
17
    /**
18
     * @var
19
     */
20
    public $type;
21
22
    public function itemClass($propertyName)
23
    {
24
        throw new Exception("No such array property $propertyName");
25
    }
26
}
27