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

QuestionAndAnswer::itemClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 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 QuestionAndAnswer
10
{
11
    use JsonDeserializableTrait;
12
13
    public $enable;
14
    public $allow_anonymous_questions;
15
    public $answer_questions;
16
    public $attendees_can_upvote;
17
    public $attendees_can_comment;
18
19
    public function itemClass($propertyName)
20
    {
21
        throw new Exception("No such array property $propertyName");
22
    }
23
}
24